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)
|
||||
|
|
|
@ -1207,6 +1207,7 @@ RLAPI void DrawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, floa
|
|||
RLAPI void DrawCube(Vector3 position, float width, float height, float length, Color color); // Draw cube
|
||||
RLAPI void DrawCubeV(Vector3 position, Vector3 size, Color color); // Draw cube (Vector version)
|
||||
RLAPI void DrawCubeWires(Vector3 position, float width, float height, float length, Color color); // Draw cube wires
|
||||
RLAPI void DrawCubeWiresV(Vector3 position, Vector3 size, Color color); // Draw cube wires (Vector version)
|
||||
RLAPI void DrawCubeTexture(Texture2D texture, Vector3 position, float width, float height, float length, Color color); // Draw cube textured
|
||||
RLAPI void DrawSphere(Vector3 centerPos, float radius, Color color); // Draw sphere
|
||||
RLAPI void DrawSphereEx(Vector3 centerPos, float radius, int rings, int slices, Color color); // Draw sphere with extended parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue