summaryrefslogtreecommitdiffhomepage
path: root/examples/web/models/models_animation.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/models/models_animation.c')
-rw-r--r--examples/web/models/models_animation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/models/models_animation.c b/examples/web/models/models_animation.c
index 506b89a..1c7bd02 100644
--- a/examples/web/models/models_animation.c
+++ b/examples/web/models/models_animation.c
@@ -56,7 +56,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 0.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 = LoadModel("resources/guy/guy.iqm"); // Load the animated model mesh and basic data
texture = LoadTexture("resources/guy/guytex.png"); // Load model texture and set material