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 --- examples/models/models_loading.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/models/models_loading.c') diff --git a/examples/models/models_loading.c b/examples/models/models_loading.c index 951aee5d..2af80c97 100644 --- a/examples/models/models_loading.c +++ b/examples/models/models_loading.c @@ -35,7 +35,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 10.0f, 0.0f }; // Camera looking at point camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target) camera.fovy = 45.0f; // Camera field-of-view Y - camera.type = CAMERA_PERSPECTIVE; // Camera mode type + camera.projection = CAMERA_PERSPECTIVE; // Camera mode type Model model = LoadModel("resources/models/castle.obj"); // Load model Texture2D texture = LoadTexture("resources/models/castle_diffuse.png"); // Load model texture -- cgit v1.2.3