|
|
@ -3,10 +3,10 @@ |
|
|
|
* raymath v1.5 - Math functions to work with Vector2, Vector3, Matrix and Quaternions |
|
|
|
* |
|
|
|
* CONVENTIONS: |
|
|
|
* - Matrix structure is defined as row-major (memory layout) but parameters naming AND all |
|
|
|
* - Matrix structure is defined as row-major (memory layout) but parameters naming AND all |
|
|
|
* math operations performed by the library consider the structure as it was column-major |
|
|
|
* It is like transposed versions of the matrices are used for all the maths |
|
|
|
* It benefits some functions making them cache-friendly and also avoids matrix |
|
|
|
* It benefits some functions making them cache-friendly and also avoids matrix |
|
|
|
* transpositions sometimes required by OpenGL |
|
|
|
* Example: In memory order, row0 is [m0 m4 m8 m12] but in semantic math row0 is [m0 m1 m2 m3] |
|
|
|
* - Functions are always self-contained, no function use another raymath function inside, |
|
|
|