|
Classes |
| class | MatrixFactory |
| class | Matrix3x4 |
| class | Matrix4x4 |
| class | Matrix3x3 |
| class | Matrix2x2 |
| class | Vector2 |
| class | Vector3 |
| class | Vector4 |
Typedefs |
|
typedef char | INT8 |
|
typedef unsigned char | UINT8 |
|
typedef short int | INT16 |
|
typedef unsigned short int | UINT16 |
|
typedef int | INT32 |
|
typedef unsigned int | UINT32 |
Functions |
|
float | norm_inf (const Matrix3x3 &m) |
|
float | norm_1 (const Matrix3x3 &m) |
|
Vector3 | randInBox () |
|
Vector3 | randInBox (float edgeLength) |
|
Vector3 | randOnSphere () |
|
Vector3 | randOnSphere (float radius) |
|
Vector3 | randInSphere () |
|
Vector3 | randInSphere (float radius) |
|
Vector2 | randInCircle () |
|
Vector3 | perpendicular (const Vector3 &v) |
|
float | degreeToRad (float degrees) |
|
int | extractSign (float a) |
|
float | randMinusHalfHalf () |
|
void | assertFail (const char *expr, const char *file, int line, const char *) |
|
int | intChop (const float &f) |
|
int | intFloor (const float &f) |
|
int | intCeil (const float &f) |
|
template<class T> |
| void | swap (T &a, T &b) |
|
template<class T> |
| const T & | min2 (const T &a, const T &b) |
|
template<class T> |
| const T & | max2 (const T &a, const T &b) |
|
int | abs (int i) |
|
float | fabs (float f) |
|
double | fabs (double f) |
|
Vector2 | operator * (const Vector2 &v, const Matrix2x2 &m) |
|
Vector3 | operator * (const Vector3 &v, const Matrix3x3 &m) |
|
Vector4 | operator * (const Vector4 &v, const Matrix4x4 &m) |
|
Matrix4x4 | operator * (const Matrix4x4 &m1, const Matrix4x4 &m2) |
|
Matrix3x3 | operator * (const Matrix3x3 &m1, const Matrix3x3 &m2) |
|
Matrix2x2 | operator * (const Matrix2x2 &m1, const Matrix2x2 &m2) |
|
Vector2 | operator+ (const Vector2 &v1, const Vector2 &v2) |
|
Vector2 | operator- (const Vector2 &v1, const Vector2 &v2) |
|
Vector2 | operator * (const Vector2 &v, const float s) |
|
Vector2 | operator * (const float s, const Vector2 &v) |
|
Vector2 | operator/ (const Vector2 &v, const float s) |
|
Vector2 | operator- (const Vector2 &v) |
|
float | dot (const Vector2 &v1, const Vector2 &v2) |
|
Vector3 | operator+ (const Vector3 &v1, const Vector3 &v2) |
|
Vector3 | operator- (const Vector3 &v1, const Vector3 &v2) |
|
Vector3 | operator * (const Vector3 &v, const float s) |
|
Vector3 | operator * (const float s, const Vector3 &v) |
|
Vector3 | operator/ (const Vector3 &v, const float s) |
|
Vector3 | operator- (const Vector3 &v) |
|
Vector3 | cross (const Vector3 &v1, const Vector3 &v2) |
|
float | dot (const Vector3 &v1, const Vector3 &v2) |
|
Vector4 | operator+ (const Vector4 &v1, const Vector4 &v2) |
|
Vector4 | operator- (const Vector4 &v1, const Vector4 &v2) |
|
Vector4 | operator * (const Vector4 &v, float s) |
|
Vector4 | operator * (float s, const Vector4 &v) |
|
Vector4 | operator/ (const Vector4 &v, float s) |
|
Vector4 | operator- (const Vector4 &v) |
|
float | dot (const Vector4 &v1, const Vector4 &v2) |