vec4 Struct Reference
#include <geom.h>
List of all members.
|
Public Member Functions |
| | vec4 () |
| | vec4 (const vec &p, float w=0) |
| | vec4 (float x, float y, float z, float w) |
| float & | operator[] (int i) |
| float | operator[] (int i) const |
Public Attributes |
| union { |
| struct { |
| float x |
| float y |
| float z |
| float w |
| } | |
| float v [4] |
| }; | |
Constructor & Destructor Documentation
| vec4::vec4 |
( |
const vec & |
p, |
|
|
float |
w = 0 | |
|
) |
| | [inline, explicit] |
| vec4::vec4 |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w | |
|
) |
| | [inline] |
Member Function Documentation
| float vec4::operator[] |
( |
int |
i |
) |
const [inline] |
| float& vec4::operator[] |
( |
int |
i |
) |
[inline] |
Member Data Documentation
The documentation for this struct was generated from the following file:
- R:/projects/actioncube/_svn/trunk/ac/source/src/geom.h