Browse Source

Modify examples/models/models_geometric_shapes.c to show the

usage of DrawCylinder(Wires)Ex
pull/2049/head
Horrowind 3 years ago
parent
commit
f49b2598dd
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      examples/models/models_geometric_shapes.c

+ 2
- 2
examples/models/models_geometric_shapes.c View File

@ -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}, p">(Vector3){-2.0f, 0.0f, o">-4.0f}, 1.5f, 0.0f, 8, GOLD);
DrawCylinderWiresEx((Vector3){1.0f, 0.0f, -4.0f}, p">(Vector3){-2.0f, 0.0f, o">-4.0f}, 1.5f, 0.0f, 8, PINK);
DrawGrid(10, 1.0f); // Draw a grid

Loading…
Cancel
Save