#include <gul_types.h>
Public Methods | |
T | weight () const |
point1 () | |
template<class T2> | point1 (const T2 &ax) |
point1< T > & | operator+= (const point1< T > &a) |
point1< T > & | operator-= (const point1< T > &a) |
point1< T > & | operator *= (T &a) |
const T & | operator[] (size_t i) const |
operator vec4 () const | |
Static Public Methods | |
int | dim () |
bool | hom () |
Public Attributes | |
T | x |
|
|
|
|
|
Definition at line 779 of file gul_types.h.
00779 { return 1; } |
|
Definition at line 780 of file gul_types.h.
00780 { return false; } |
|
Definition at line 798 of file gul_types.h. References x.
00799 { 00800 x *= a; 00801 return *this; 00802 } |
|
Definition at line 805 of file gul_types.h. References x.
00806 { 00807 vec4<T> v; 00808 v[0] = x; v[1] = 0; v[2] = 0; v[3] = 1; 00809 return v; 00810 } |
|
Definition at line 788 of file gul_types.h. References x.
00789 { 00790 x += a.x; 00791 return *this; 00792 } |
|
Definition at line 793 of file gul_types.h. References x.
00794 { 00795 x -= a.x; 00796 return *this; 00797 } |
|
Definition at line 803 of file gul_types.h. References x.
00803 { return (&x)[i]; } |
|
Definition at line 781 of file gul_types.h. References x.
00781 { return (T)1; } |
|
Definition at line 778 of file gul_types.h. Referenced by operator *=(), operator vec4(), operator+=(), operator-=(), operator[](), and weight(). |