#include <gul_types.h>
Public Methods | |
T | weight () const |
hpoint2 () | |
template<class T2> | hpoint2 (const T2 &ax, const T2 &ay, const T2 &aw) |
hpoint2< T > & | operator+= (const hpoint2< T > &a) |
hpoint2< T > & | operator-= (const hpoint2< T > &a) |
hpoint2< 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 |
T | y |
T | w |
|
|
|
|
|
Definition at line 965 of file gul_types.h.
00965 { return 3; } |
|
Definition at line 966 of file gul_types.h.
00966 { return true; } |
|
Definition at line 986 of file gul_types.h.
|
|
Definition at line 993 of file gul_types.h.
|
|
Definition at line 976 of file gul_types.h.
|
|
Definition at line 981 of file gul_types.h.
|
|
Definition at line 991 of file gul_types.h. References x.
00991 { return (&x)[i]; } |
|
Definition at line 967 of file gul_types.h.
00967 { return w; } |
|
Definition at line 964 of file gul_types.h. Referenced by operator *=(), operator vec4(), operator+=(), operator-=(), and weight(). |
|
Definition at line 962 of file gul_types.h. Referenced by operator *=(), operator vec4(), operator+=(), operator-=(), operator[](), and weight(). |
|
Definition at line 963 of file gul_types.h. Referenced by operator *=(), operator vec4(), operator+=(), operator-=(), and weight(). |