From 07d82a91c5e710bae05525b7a053893ff3771767 Mon Sep 17 00:00:00 2001 From: Ray Date: Fri, 19 Mar 2021 13:56:46 +0100 Subject: WARNING: BREAKING: RENAMED: camera.type to camera.projection --- projects/VSCode/main.c | 2 +- projects/VSCode_tcc_win/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'projects') 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); -- cgit v1.2.3