sculpto
|
#include <matr4.h>
Public Member Functions | |
matr4 () | |
matr4 (T A00, T A01, T A02, T A03, T A10, T A11, T A12, T A13, T A20, T A21, T A22, T A23, T A30, T A31, T A32, T A33) | |
matr4 (T A[4][4]) | |
matr4 (T A00) | |
matr4 (const matr4_data< T > &Other) | |
matr4 | Transpose () const |
matr4 | operator* (const matr4 &M) const |
T | Det () const |
matr4 | Inverse () const |
vec3< T > | TransformPoint (const vec3< T > &V) const |
vec3< T > | TransformVector (const vec3< T > &V) const |
vec3< T > | Transform4x4 (const vec3< T > &V) const |
T & | operator[] (int Index) |
T | operator[] (int Index) const |
Public Member Functions inherited from scl::math::matr4_data< T > | |
matr4_data () | |
matr4_data (const matr4_data &Other) | |
matr4_data (T A00, T A01, T A02, T A03, T A10, T A11, T A12, T A13, T A20, T A21, T A22, T A23, T A30, T A31, T A32, T A33) | |
operator T* () | |
Static Public Member Functions | |
static matr4 | Identity () |
static matr4 | Translate (const vec3< T > &Transform) |
static matr4 | Scale (vec3< T > S) |
static matr4 | Rotate (vec3< T > Axis, degrees< T > Angle) |
static matr4 | RotateX (degrees< T > Angle) |
static matr4 | RotateY (degrees< T > Angle) |
static matr4 | RotateZ (degrees< T > Angle) |
static matr4 | Frustum (T Left, T Right, T Bottom, T Top, T Near, T Far) |
static matr4 | Ortho (T Left, T Right, T Bottom, T Top, T Near, T Far) |
static matr4 | View (vec3< T > Location, vec3< T > At, vec3< T > Up) |
static matr4 | Lerp (const matr4 &Start, const matr4 &End, T Current) |
Additional Inherited Members | |
Public Attributes inherited from scl::math::matr4_data< T > | |
T | A [4][4] |
4x4 matrix declaration.
4x4 matrix class.
|
inline |
|
inline |
A00-A33 | - matrx valeus. |
Definition at line 179 of file matr4.h.
|
inline |
|
inline |
A00 | - calue to set to all matrix cells. |
Definition at line 213 of file matr4.h.
|
inline |
|
inline |
|
inlinestatic |
Left,Right | - frustrum view cone left and right sides position |
Bottom,Top | - frustrum view cone bottom and top sides position |
Near,Far | - frustrum view cone near and far planes distance. |
Definition at line 359 of file matr4.h.
|
inlinestatic |
|
inline |
|
inlinestatic |
Matrices operations.
Start,End | - matrices to interpolate. |
Current | - interpolation value [0;1]. |
Definition at line 415 of file matr4.h.
|
inline |
M | - matrix to multyply. |
|
inline |
|
inline |
Index | - coordinate index. |
|
inlinestatic |
Left,Right | - view cube left and right sides position |
Bottom,Top | - view cube bottom and top sides position |
Near,Far | - view cube near and far planes distance. |
Definition at line 375 of file matr4.h.
|
inlinestatic |
Axis | - axis to rotate around of. |
Angle | - angle in degrees to roate on. |
Definition at line 288 of file matr4.h.
|
inlinestatic |
Angle | - angle in degrees to roate on. |
|
inlinestatic |
Angle | - angle in degrees to roate on. |
|
inlinestatic |
Angle | - angle in degrees to roate on. |
|
inlinestatic |
|
inline |
|
inline |
V | - vectors to transform. |
|
inline |
V | - vectors to transform. |
|
inlinestatic |
Transform | - translatino vector. |
|
inline |
|
inlinestatic |
Location | - viewer position in global coordinate system. |
At | - viewer looking at point. |
Up | - viewer up direction point. |
Definition at line 391 of file matr4.h.