Fovia C++ In-Process API
|
Public Member Functions | |
VECTOR3L | add (const VECTOR3L &var) |
void | assign (const VECTOR3L ©) |
VECTOR3L | cross (const VECTOR3L &op) |
double | dot (VECTOR3L op) |
double | length () |
VECTOR3L | operator+ (const VECTOR3L &var) |
VECTOR3L | operator- (const VECTOR3L &var) |
VECTOR3L & | operator= (const VECTOR3L &r) |
VECTOR3L | scale (const double scalar) |
VECTOR3L | sub (const VECTOR3L &var) |
std::string | toString () |
VECTOR3L () | |
VECTOR3L (const VECTOR3L ©) | |
VECTOR3L (signed int nx, signed int ny, signed int nz) | |
Public Attributes | |
signed int | x |
signed int | y |
signed int | z |
3D vector type that works with 32-bit integers.
|
inline |
Constructs a VECTOR3L. Does not initialize the member fields.
|
inline |
|
inline |
Constructs a new VECTOR3L with the values nx, ny and nz in x, y and z respectively.
nx | The new x value. |
ny | The new y value. |
nz | The new z value. |
|
inline |
Assigns the values contained in copy to this object.
copy | The VECTOR3L to assign to this object. |
Referenced by VECTOR3L().
|
inline |
|
inline |
Returns the length of the vector.
|
inline |
Multiplies each member of this vector by the value scalar and returns the result in a new vector.
scalar | The value by which to multiply each member. |
|
inline |
Creates a string with the contents of this object.