diff options
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/VSCode/main.c | 2 | ||||
| -rw-r--r-- | projects/VSCode_tcc_win/main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/projects/VSCode/main.c b/projects/VSCode/main.c index 88f356ea..835b4b08 100644 --- a/projects/VSCode/main.c +++ b/projects/VSCode/main.c @@ -35,7 +35,7 @@ int main() camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 60.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; SetCameraMode(camera, CAMERA_ORBITAL); diff --git a/projects/VSCode_tcc_win/main.c b/projects/VSCode_tcc_win/main.c index 7a68a373..ed1bbcfd 100644 --- a/projects/VSCode_tcc_win/main.c +++ b/projects/VSCode_tcc_win/main.c @@ -36,7 +36,7 @@ int main() camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 60.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; SetCameraMode(camera, CAMERA_ORBITAL); |
