Adding DrawCubeWiresV for convenience
This commit is contained in:
parent
2f97a3f835
commit
9f54a69cec
2 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue