#include <FMVector2.h>
Public Member Functions | |
FMVector2 () | |
Creates an empty FMVector2. | |
FMVector2 (float _u, float _v) | |
Creates the FMVector2 with the coordinates given. | |
operator float * () | |
Get this FMVector2 as an array of floats . | |
FMVector2 & | operator+= (const FMVector2 &a) |
Adds two FMVector2. | |
FMVector2 & | operator *= (float a) |
Multiplies this FMVector2 by a scaler. | |
FMVector2 & | operator= (const float *f) |
Assign this FMVector2 to the given float array. | |
Public Attributes | |
float | u |
The first coordinate. | |
float | v |
The second coordinate. |
Not used within FCollada.
|
Creates the FMVector2 with the coordinates given.
|
|
Multiplies this FMVector2 by a scaler. Multiplies each of this FMVector2's coordinates with the scaler and returns this FMVector2.
|
|
Get this FMVector2 as an array of
|
|
Adds two FMVector2. Adds to this FMVector2's coordinates the individual components of the given FMVector2 and returns this FMVector2.
|
|
Assign this FMVector2 to the given float array.
Assigns each coordinate of this FMVector2 to the elements in the
|