diff options
Diffstat (limited to 'examples/models')
| -rw-r--r-- | examples/models/models_rlgl_solar_system.c | 2 | ||||
| -rw-r--r-- | examples/models/models_waving_cubes.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/models/models_rlgl_solar_system.c b/examples/models/models_rlgl_solar_system.c index a6698e69..e6a28cf6 100644 --- a/examples/models/models_rlgl_solar_system.c +++ b/examples/models/models_rlgl_solar_system.c @@ -43,7 +43,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; SetCameraMode(camera, CAMERA_FREE); diff --git a/examples/models/models_waving_cubes.c b/examples/models/models_waving_cubes.c index 764dc5e7..2a3b142d 100644 --- a/examples/models/models_waving_cubes.c +++ b/examples/models/models_waving_cubes.c @@ -30,7 +30,7 @@ int main() camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 70.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; // Specify the amount of blocks in each direction const int numBlocks = 15; |
