summaryrefslogtreecommitdiffhomepage
path: root/examples/web/models/models_mesh_picking.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-19 13:57:24 +0100
committerRay <[email protected]>2021-03-19 13:57:24 +0100
commita3a26dd470338605d1ecee7e39f0f5e93d6948d3 (patch)
treec9a13533e041ab82a1555bef0c1759371bcf1fec /examples/web/models/models_mesh_picking.c
parent4a387acc36af8b6a54883894d1d70779e6ddb457 (diff)
downloadraylib.com-a3a26dd470338605d1ecee7e39f0f5e93d6948d3.tar.gz
raylib.com-a3a26dd470338605d1ecee7e39f0f5e93d6948d3.zip
RENAMED: camera.type to camera.projection
Diffstat (limited to 'examples/web/models/models_mesh_picking.c')
-rw-r--r--examples/web/models/models_mesh_picking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/models/models_mesh_picking.c b/examples/web/models/models_mesh_picking.c
index c73701b..2751918 100644
--- a/examples/web/models/models_mesh_picking.c
+++ b/examples/web/models/models_mesh_picking.c
@@ -66,7 +66,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 2.3f, 0.0f }; // Camera looking at point
camera.up = (Vector3){ 0.0f, 1.6f, 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
tower = LoadModel("resources/models/turret.obj"); // Load OBJ model
texture = LoadTexture("resources/models/turret_diffuse.png"); // Load model texture