diff options
| author | Ray <[email protected]> | 2024-04-02 09:38:06 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-04-02 09:38:06 +0200 |
| commit | 646d70e93a5a049cb9f603c3b94ee1ba98c9161e (patch) | |
| tree | 9f428f78eb77548156a8bc0348a9efb02cb7b9ef /src/raymath.h | |
| parent | 1b047995d1046a869fb0f1e8ecf430573e0207e9 (diff) | |
| download | raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.tar.gz raylib-646d70e93a5a049cb9f603c3b94ee1ba98c9161e.zip | |
Remove trailing spaces
Diffstat (limited to 'src/raymath.h')
| -rw-r--r-- | src/raymath.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/raymath.h b/src/raymath.h index 52c11b21..96f2c2cd 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -777,7 +777,7 @@ RMAPI Vector3 Vector3Normalize(Vector3 v) RMAPI Vector3 Vector3Project(Vector3 v1, Vector3 v2) { Vector3 result = { 0 }; - + float v1dv2 = (v1.x*v2.x + v1.y*v2.y + v1.z*v2.z); float v2dv2 = (v2.x*v2.x + v2.y*v2.y + v2.z*v2.z); @@ -794,7 +794,7 @@ RMAPI Vector3 Vector3Project(Vector3 v1, Vector3 v2) RMAPI Vector3 Vector3Reject(Vector3 v1, Vector3 v2) { Vector3 result = { 0 }; - + float v1dv2 = (v1.x*v2.x + v1.y*v2.y + v1.z*v2.z); float v2dv2 = (v2.x*v2.x + v2.y*v2.y + v2.z*v2.z); @@ -1213,7 +1213,7 @@ RMAPI Vector3 Vector3Refract(Vector3 v, Vector3 n, float r) RMAPI Vector4 Vector4Zero(void) { Vector4 result = { 0.0f, 0.0f, 0.0f, 0.0f }; - return result; + return result; } RMAPI Vector4 Vector4One(void) @@ -1296,7 +1296,7 @@ RMAPI float Vector4Distance(Vector4 v1, Vector4 v2) // Calculate square distance between two vectors RMAPI float Vector4DistanceSqr(Vector4 v1, Vector4 v2) { - float result = + float result = (v1.x - v2.x)*(v1.x - v2.x) + (v1.y - v2.y)*(v1.y - v2.y) + (v1.z - v2.z)*(v1.z - v2.z) + (v1.w - v2.w)*(v1.w - v2.w); |
