cocos3d
2.0.0
|
#include <CC3Foundation.h>
Public Attributes | |
GLfloat | w |
CC3Vector | v |
GLfloat | x |
GLfloat | y |
GLfloat | z |
A 4D vector, such as a homogeneous vector in 4D graphics matrix space, or a quaternion.
This structure can be referenced as containing 4 individual XYZW axes components, or containing a 3D XYZ vector, plus a W component.
CC3Vector CC3Vector4::v |
The X, Y & Z components as a 3D vector.
GLfloat CC3Vector4::w |
The homogeneous ratio factor or the real part of a quaternion.
GLfloat CC3Vector4::x |
The X-componenent of the vector or quaternion.
GLfloat CC3Vector4::y |
The Y-componenent of the vector or quaternion.
GLfloat CC3Vector4::z |
The Z-componenent of the vector or quaternion.