represents a 3-dimentional float-typed vector More...
#include <MRVector3.h>
Public Member Functions | |
Vector3f () | |
creates a new vector with zero coordinates | |
Vector3f (float x, float y, float z) | |
creates a new vector with specified coordinates | |
~Vector3f () | |
void | set (float value) |
void | set (float value) |
void | set (float value) |
Static Public Member Functions | |
static Vector3f | Diagonal (float a) |
creates a new vector with same coordinates | |
static Vector3f | PlusX () |
static Vector3f | MinusX () |
static Vector3f | PlusY () |
static Vector3f | MinusY () |
static Vector3f | PlusZ () |
static Vector3f | MinusZ () |
static Vector3f | operator+ (Vector3f^ a, Vector3f^ b) |
static Vector3f | operator- (Vector3f^ a, Vector3f^ b) |
static Vector3f | operator* (Vector3f^ a, float b) |
static Vector3f | operator* (float a, Vector3f^ b) |
static bool | operator== (Vector3f^ a, Vector3f^ b) |
static bool | operator!= (Vector3f^ a, Vector3f^ b) |
Public Attributes | |
property float | X { float get() |
first coordinate | |
property float | Y { float get() |
second coordinate | |
property float | Z { float get() |
third coordinate | |
represents a 3-dimentional float-typed vector
Vector3f::Vector3f | ( | ) |
creates a new vector with zero coordinates
Vector3f::Vector3f | ( | float | x, |
float | y, | ||
float | z ) |
creates a new vector with specified coordinates
Vector3f::~Vector3f | ( | ) |
|
static |
creates a new vector with same coordinates
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
void Vector3f::set | ( | float | value | ) |
void Vector3f::set | ( | float | value | ) |
void Vector3f::set | ( | float | value | ) |
property float Vector3f::X { float get() |
first coordinate
property float Vector3f::Y { float get() |
second coordinate
property float Vector3f::Z { float get() |
third coordinate