|
void | PSMTXIdentity (Mtx *mtx) |
| Sets the given matrix to the identity matrix.
|
|
void | PSMTXConcat (const Mtx *a, const Mtx *b, Mtx *out) |
| Concatenates two matrices.
|
|
void | PSMTXCopy (const Mtx *src, Mtx *dst) |
| Copies a matrix.
|
|
void | PSMTXTrans (Mtx *mtx, float x, float y, float z) |
| Sets a translation matrix with the given components.
|
|
void | PSMTXScale (Mtx *mtx, float x, float y, float z) |
| Sets a scaling matrix with the given components.
|
|
void | C_MTXOrtho (Mtx44 *, float, float, float, float, float, float) |
|
void | PSVECAdd (const Vec *v1, const Vec *v2, Vec *out) |
| Sums two vectors together.
|
|
void | PSVECSubtract (const Vec *v1, const Vec *v2, Vec *out) |
| Subtracts vector v2 from vector v1 .
|
|
void | PSVECScale (const Vec *in, Vec *out, float scale) |
| Multiplies a vector by a scalar.
|
|
f32 | PSVECMag (const Vec *v) |
| Computes the magnitude of a vector.
|
|