diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/models/models_geometric_shapes.c | 3 | ||||
| -rw-r--r-- | examples/models/models_geometric_shapes.png | bin | 33973 -> 22450 bytes |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/models/models_geometric_shapes.c b/examples/models/models_geometric_shapes.c index 294c8825..90261ad2 100644 --- a/examples/models/models_geometric_shapes.c +++ b/examples/models/models_geometric_shapes.c @@ -66,6 +66,9 @@ int main(void) DrawCylinder((Vector3){1.0f, 0.0f, -4.0f}, 0.0f, 1.5f, 3.0f, 8, GOLD); DrawCylinderWires((Vector3){1.0f, 0.0f, -4.0f}, 0.0f, 1.5f, 3.0f, 8, PINK); + DrawCapsule ((Vector3){-3.0f, 1.5f, -4.0f}, (Vector3){-4.0f, -1.0f, -4.0f}, 1.2f, 8, 8, VIOLET); + DrawCapsuleWires((Vector3){-3.0f, 1.5f, -4.0f}, (Vector3){-4.0f, -1.0f, -4.0f}, 1.2f, 8, 8, PURPLE); + DrawGrid(10, 1.0f); // Draw a grid EndMode3D(); diff --git a/examples/models/models_geometric_shapes.png b/examples/models/models_geometric_shapes.png Binary files differindex 6076b429..765abe19 100644 --- a/examples/models/models_geometric_shapes.png +++ b/examples/models/models_geometric_shapes.png |
