summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_geometric_shapes.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/models/models_geometric_shapes.c')
-rw-r--r--examples/models/models_geometric_shapes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/models/models_geometric_shapes.c b/examples/models/models_geometric_shapes.c
index 39477927..c1feb802 100644
--- a/examples/models/models_geometric_shapes.c
+++ b/examples/models/models_geometric_shapes.c
@@ -26,7 +26,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 0.0f, 0.0f };
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f };
camera.fovy = 45.0f;
- camera.type = CAMERA_PERSPECTIVE;
+ camera.projection = CAMERA_PERSPECTIVE;
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------