cocos3d  2.0.0
Public Attributes | List of all members
CC3Vector4 Struct Reference

#include <CC3Foundation.h>

Public Attributes

GLfloat w
 
CC3Vector v
 
GLfloat x
 
GLfloat y
 
GLfloat z
 

Detailed Description

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.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: