diff options
| author | Ray <[email protected]> | 2022-08-02 00:36:31 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-08-02 00:36:31 +0200 |
| commit | fd191a32eacda23b54438550965fa8addf31e2e2 (patch) | |
| tree | bb3b8537ef0f4f534650e96b60134febe9a61238 /src/raymath.h | |
| parent | fe9e82b2e689ad6ae13ae6680ae8f1576c498fe2 (diff) | |
| download | raylib-fd191a32eacda23b54438550965fa8addf31e2e2.tar.gz raylib-fd191a32eacda23b54438550965fa8addf31e2e2.zip | |
Remove trailing spaces
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 e0fd8d9c..d942bdd9 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -760,7 +760,7 @@ RMAPI Vector3 Vector3RotateByAxisAngle(Vector3 v, Vector3 axis, float angle) // Ref.: https://en.wikipedia.org/w/index.php?title=Euler%E2%80%93Rodrigues_formula Vector3 result = v; - + // Vector3Normalize(axis); float length = sqrtf(axis.x * axis.x + axis.y * axis.y + axis.z * axis.z); if (length == 0.0f) length = 1.0f; @@ -2099,7 +2099,7 @@ RMAPI int QuaternionEquals(Quaternion p, Quaternion q) int result = (((fabsf(p.x - q.x)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.x), fabsf(q.x))))) && ((fabsf(p.y - q.y)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.y), fabsf(q.y))))) && ((fabsf(p.z - q.z)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.z), fabsf(q.z))))) && - ((fabsf(p.w - q.w)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.w), fabsf(q.w)))))) || + ((fabsf(p.w - q.w)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.w), fabsf(q.w)))))) || (((fabsf(p.x + q.x)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.x), fabsf(q.x))))) && ((fabsf(p.y + q.y)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.y), fabsf(q.y))))) && ((fabsf(p.z + q.z)) <= (EPSILON*fmaxf(1.0f, fmaxf(fabsf(p.z), fabsf(q.z))))) && |
