mirror of
https://github.com/raysan5/raylib.git
synced 2025-11-11 21:08:44 +00:00
Adding DrawCubeWiresV for convenience
This commit is contained in:
@@ -285,6 +285,12 @@ void DrawCubeWires(Vector3 position, float width, float height, float length, Co
|
||||
rlPopMatrix();
|
||||
}
|
||||
|
||||
// Draw cube wires (vector version)
|
||||
void DrawCubeWiresV(Vector3 position, Vector3 size, Color color)
|
||||
{
|
||||
DrawCubeWires(position, size.x, size.y, size.z, color);
|
||||
}
|
||||
|
||||
// Draw cube
|
||||
// NOTE: Cube position is the center position
|
||||
void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color)
|
||||
|
||||
Reference in New Issue
Block a user