DigitalSpaces::out_Vector4f Union Reference
[Math Objects]

#include <ContainerInterfaces.h>


Detailed Description

Standard 4 value vector.

Useful for storing angle-axis (rotation around a vector), and four component colour values (RGBA). Also useful for storing a pair of 2 value vectors (x and y).


Data Fields

struct {
   float   x
   float   y
   float   z
   float   w
}; 
 Value names used when accessing as a position, or vector/angle.
struct {
   float   r
   float   g
   float   b
   float   a
}; 
 Value names used when accessing as a colour.
struct {
   float   x1
   float   y1
   float   x2
   float   y2
}; 
 Value names used when accessing as a colour.
float val [4]
 A convenience name useful for when an implementation expects a vector as a float* to a float[4] array.

Field Documentation

struct { ... }

Value names used when accessing as a position, or vector/angle.

struct { ... }

Value names used when accessing as a colour.

struct { ... }

Value names used when accessing as a colour.

A convenience name useful for when an implementation expects a vector as a float* to a float[4] array.


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

Generated on Sun Aug 31 17:46:28 2008 for Digital Spaces by  doxygen 1.5.6