summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_basic_lighting.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/shaders/shaders_basic_lighting.c')
-rw-r--r--examples/web/shaders/shaders_basic_lighting.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/shaders/shaders_basic_lighting.c b/examples/web/shaders/shaders_basic_lighting.c
index e21ee14..b290a19 100644
--- a/examples/web/shaders/shaders_basic_lighting.c
+++ b/examples/web/shaders/shaders_basic_lighting.c
@@ -83,7 +83,7 @@ int main(void)
camera.target = (Vector3){ 0.0f, 0.5f, 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
// Load models
modelA = LoadModelFromMesh(GenMeshTorus(0.4f, 1.0f, 16, 32));