Math Data Types
[Data Types]
Detailed Description
This section of the documentation covers the Nebula math libarary classes and functions.Matrix
The matrices in Nebula areRow Major which is identical to D3D. This means that a matrix position of [1][2] means we are refering to the number in [Row 1][Column 2].The following is the layout of the rows and columns in the Nebula matrix44 matrix.
| M11 M12 M13 M14 |
| M21 M22 M23 M24 |
| M31 M32 M33 M34 |
| M41 M42 M43 M44 |
- Note:
- You can get the element of the matrix by the macro
Mrc. r indicates the row of the element and c indicates the column of element. For an example, you can get the first element of the matrix bym.M11('m' is the instance of the matrix44 or matrix33 class).
Classes | |
| class | _matrix33 |
| class | _matrix33_sse |
| class | _matrix44 |
| class | _matrix44_sse |
| class | _vector2 |
| class | _vector3 |
| class | _vector3_sse |
| class | _vector4 |
| class | _vector4_sse |
| class | bbox3 |
| class | nEnvelopeCurve |
| class | nEulerAngles |
| class | line2 |
| class | line3 |
| class | pknorm3 |
| class | plane |
| class | polar2 |
| class | quaternion |
| class | rectangle |
| class | sphere |
| class | transform33 |
| class | transform44 |
| class | triangle |
| class | nVector3EnvelopeCurve |