FMVector4 Class Reference
[Mathematics Classes.]

A 4 dimensional vector. More...

#include <FMVector4.h>

List of all members.

Public Member Functions

 FMVector4 ()
 Creates an empty FMVector4.
 FMVector4 (FMVector3 v, float _w)
 Creates the FMVector4 with the coordinates given.
 FMVector4 (float _x, float _y, float _z, float _w)
 Creates the FMVector4 with the coordinates given.
 operator float * ()
 Get this FMVector4 as an array of floats.
 operator const float * () const
 Get this FMVector4 as an array of floats.

Public Attributes

float x
 The first coordinate.
float y
 The second coordinate.
float z
 The third coordinate.
float w
 The forth coordinate.

Static Public Attributes

static const FMVector4 Zero
 The FMVector4 representing zero.


Detailed Description

A 4 dimensional vector.

Not used within FCollada.


Constructor & Destructor Documentation

FMVector4::FMVector4 FMVector3  v,
float  _w
[inline]
 

Creates the FMVector4 with the coordinates given.

The first three coordinates are taken from the FMVector3, where the first one is the x value, the second is that y, and the third is the z. The forth value is the float specified.

Parameters:
v The FMVector3 representing the first three coordinates.
_w The final coordinate.

FMVector4::FMVector4 float  _x,
float  _y,
float  _z,
float  _w
[inline]
 

Creates the FMVector4 with the coordinates given.

Parameters:
_x The first coordinate.
_y The second coordinate.
_z The third coordinate.
_w The forth coordinate.


Member Function Documentation

FMVector4::operator const float *  )  const [inline]
 

Get this FMVector4 as an array of floats.

Returns:
The float array.

FMVector4::operator float *  )  [inline]
 

Get this FMVector4 as an array of floats.

Returns:
The float array.


The documentation for this class was generated from the following file:
Generated on Fri May 12 16:44:44 2006 for FCollada by  doxygen 1.4.6-NO