summaryrefslogtreecommitdiffhomepage
path: root/projects
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-19 13:56:46 +0100
committerRay <[email protected]>2021-03-19 13:56:46 +0100
commit07d82a91c5e710bae05525b7a053893ff3771767 (patch)
treee9d5d2ba4a4ceb7de35a7853c38508eff413a4bd /projects
parentd4e2c331b1a751dd02cac36502bbb161406b0d80 (diff)
downloadraylib-07d82a91c5e710bae05525b7a053893ff3771767.tar.gz
raylib-07d82a91c5e710bae05525b7a053893ff3771767.zip
WARNING: BREAKING: RENAMED: camera.type to camera.projection
Diffstat (limited to 'projects')
-rw-r--r--projects/VSCode/main.c2
-rw-r--r--projects/VSCode_tcc_win/main.c2
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);