Remove Vector3{Up,Down,Left,Right,Forward,Backward}

This commit is contained in:
saccharineboi 2022-04-23 23:23:27 +04:00
parent b9817803c5
commit e563f04e1d
No known key found for this signature in database
GPG Key ID: 869B4A61D04FAD71

View File

@ -504,54 +504,6 @@ RMAPI Vector3 Vector3One(void)
return result; 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 // Add two vectors
RMAPI Vector3 Vector3Add(Vector3 v1, Vector3 v2) RMAPI Vector3 Vector3Add(Vector3 v1, Vector3 v2)
{ {