From e563f04e1d707d2390471b846c6aaf50b48de874 Mon Sep 17 00:00:00 2001 From: saccharineboi Date: Sat, 23 Apr 2022 23:23:27 +0400 Subject: [PATCH] Remove Vector3{Up,Down,Left,Right,Forward,Backward} --- src/raymath.h | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) diff --git a/src/raymath.h b/src/raymath.h index c73a78641..4aa56b658 100644 --- a/src/raymath.h +++ b/src/raymath.h @@ -504,54 +504,6 @@ RMAPI Vector3 Vector3One(void) return result; } -// Vector pointing toward the positive Y-axis -RMAPI Vector3 Vector3Up(void) -{ - Vector3 result = { 0.0f, 1.0f, 0.0f }; - - return result; -} - -// Vector pointing toward the negative Y-axis -RMAPI Vector3 Vector3Down(void) -{ - Vector3 result = { 0.0f, -1.0f, 0.0f }; - - return result; -} - -// Vector pointing toward the positive X-axis -RMAPI Vector3 Vector3Right(void) -{ - Vector3 result = { 1.0f, 0.0f, 0.0f }; - - return result; -} - -// Vector pointing toward the negative X-axis -RMAPI Vector3 Vector3Left(void) -{ - Vector3 result = { -1.0f, 0.0f, 0.0f }; - - return result; -} - -// Vector pointing toward the negative Z-axis -RMAPI Vector3 Vector3Forward(void) -{ - Vector3 result = { 0.0f, 0.0f, -1.0f }; - - return result; -} - -// Vector pointing toward the positive Z-axis -RMAPI Vector3 Vector3Backward(void) -{ - Vector3 result = { 0.0f, 0.0f, 1.0f }; - - return result; -} - // Add two vectors RMAPI Vector3 Vector3Add(Vector3 v1, Vector3 v2) {