From f49b2598dd3bfc3219d414f24558c68f7ebe9eb5 Mon Sep 17 00:00:00 2001 From: Horrowind Date: Mon, 11 Oct 2021 22:30:28 +0200 Subject: [PATCH] Modify examples/models/models_geometric_shapes.c to show the usage of DrawCylinder(Wires)Ex --- examples/models/models_geometric_shapes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/models/models_geometric_shapes.c b/examples/models/models_geometric_shapes.c index c1feb8027..19524f293 100644 --- a/examples/models/models_geometric_shapes.c +++ b/examples/models/models_geometric_shapes.c @@ -58,8 +58,8 @@ int main(void) DrawCylinderWires((Vector3){4.0f, 0.0f, -2.0f}, 1.0f, 2.0f, 3.0f, 4, DARKBLUE); DrawCylinderWires((Vector3){4.5f, -1.0f, 2.0f}, 1.0f, 1.0f, 2.0f, 6, BROWN); - 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); + DrawCylinderEx((Vector3){1.0f, 0.0f, -4.0f}, (Vector3){-2.0f, 0.0f, -4.0f}, 1.5f, 0.0f, 8, GOLD); + DrawCylinderWiresEx((Vector3){1.0f, 0.0f, -4.0f}, (Vector3){-2.0f, 0.0f, -4.0f}, 1.5f, 0.0f, 8, PINK); DrawGrid(10, 1.0f); // Draw a grid