#include <Vector3.h>
Public Member Functions | |
Vector3 (float v) | |
Vector3 (float _x, float _y, float _z) | |
float | length () |
Static Public Member Functions | |
static Vector3 | normalize (Vector3 v) |
static Vector3 | operator- (Vector3 v1, Vector3 v2) |
static Vector3 | operator+ (Vector3 v1, Vector3 v2) |
static Vector3 | operator* (Vector3 v, float f) |
static Vector3 | operator* (Vector3 v1, Vector3 v2) |
static Vector3 | operator/ (Vector3 v, float f) |
static Vector3 | operator- (Vector3 v) |
static float | dotProduct (Vector3 v1, Vector3 v2) |
static Vector3 | crossProduct (Vector3 v1, Vector3 v2) |
Public Attributes | |
float | x |
float | y |
float | z |
Static Public Attributes | |
static Vector3 | one = Vector3(1, 1, 1) |
static Vector3 | zero = Vector3(0, 0, 0) |
SharpKmyMath::Vector3::Vector3 | ( | float | v | ) |
SharpKmyMath::Vector3::Vector3 | ( | float | _x, |
float | _y, | ||
float | _z | ||
) |
float SharpKmyMath::Vector3::length | ( | ) |
float SharpKmyMath::Vector3::x |
float SharpKmyMath::Vector3::y |
float SharpKmyMath::Vector3::z |