summaryrefslogtreecommitdiffhomepage
path: root/examples/models/models_loading.c
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 /examples/models/models_loading.c
parentd4e2c331b1a751dd02cac36502bbb161406b0d80 (diff)
downloadraylib-07d82a91c5e710bae05525b7a053893ff3771767.tar.gz
raylib-07d82a91c5e710bae05525b7a053893ff3771767.zip
WARNING: BREAKING: RENAMED: camera.type to camera.projection
Diffstat (limited to 'examples/models/models_loading.c')
-rw-r--r--examples/models/models_loading.c2
1 files changed, 1 insertions, 1 deletions
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