diff options
| author | raysan5 <[email protected]> | 2020-02-10 10:56:48 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-02-10 10:56:48 +0100 |
| commit | 131132f17d801741fee1b8414946ca496614cd6c (patch) | |
| tree | dc477833a37038a272725fb9221658b96247aa95 /src/models.c | |
| parent | 884e868e92649cdd43a481435009052fd792984b (diff) | |
| download | raylib-131132f17d801741fee1b8414946ca496614cd6c.tar.gz raylib-131132f17d801741fee1b8414946ca496614cd6c.zip | |
Minor tweaks
Diffstat (limited to 'src/models.c')
| -rw-r--r-- | src/models.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.c b/src/models.c index 8dd95498..1a3ae3ed 100644 --- a/src/models.c +++ b/src/models.c @@ -1655,7 +1655,7 @@ Mesh GenMeshCylinder(float radius, float height, int slices) par_shapes_mesh *cylinder = par_shapes_create_cylinder(slices, 8); par_shapes_scale(cylinder, radius, radius, height); par_shapes_rotate(cylinder, -PI/2.0f, (float[]){ 1, 0, 0 }); - par_shapes_rotate(cylinder, PI/2.0f, (float[]){ 0, 1, 0}); + par_shapes_rotate(cylinder, PI/2.0f, (float[]){ 0, 1, 0 }); // Generate an orientable disk shape (top cap) par_shapes_mesh *capTop = par_shapes_create_disk(radius, slices, (float[]){ 0, 0, 0 }, (float[]){ 0, 0, 1 }); |
