diff options
| author | Palaui <sucdepressec@gmail.com> | 2014-12-09 13:10:05 +0100 |
|---|---|---|
| committer | Palaui <sucdepressec@gmail.com> | 2014-12-09 13:10:05 +0100 |
| commit | 29d8b48503f3064cdc1f3a87c01b4264e716a220 (patch) | |
| tree | 31096a173fa4fb61fd9d912169abbf65fcf269c6 /src/raymath.h | |
| parent | 63ed471ed24ed1b328cc90f03a88130511725e88 (diff) | |
| download | raylib-29d8b48503f3064cdc1f3a87c01b4264e716a220.tar.gz raylib-29d8b48503f3064cdc1f3a87c01b4264e716a220.zip | |
Corrected some bugs...
[core] Added SetMousePosition()
[models] LoadHeightmap() - Corrected textures bug
[raymath] Functions renaming
[WEB] Prepare environment for emscripten!
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raymath.h b/src/raymath.h index c396a347..334df4f3 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -108,8 +108,8 @@ Matrix MatrixAdd(Matrix left, Matrix right); // Add two matrices Matrix MatrixSubstract(Matrix left, Matrix right); // Substract two matrices (left - right) Matrix MatrixTranslate(float x, float y, float z); // Returns translation matrix Matrix MatrixRotate(float angleX, float angleY, float angleZ); // Returns rotation matrix -Matrix MatrixRotateAroundAxis(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis -Matrix MatrixRotateAroundAxis2(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis (test another implemntation) +Matrix MatrixFromAxisAngle(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis +Matrix MatrixFromAxisAngle2(Vector3 axis, float angle); // Returns rotation matrix for an angle around an specified axis (test another implemntation) Matrix MatrixFromQuaternion(Quaternion q); // Returns rotation matrix for a given quaternion Matrix MatrixRotateX(float angle); // Returns x-rotation matrix (angle in radians) Matrix MatrixRotateY(float angle); // Returns y-rotation matrix (angle in radians) |
