summaryrefslogtreecommitdiffhomepage
path: root/examples/web/shaders/shaders_basic_lighting.c
diff options
context:
space:
mode:
authorRay <[email protected]>2021-03-19 22:40:17 +0100
committerRay <[email protected]>2021-03-19 22:40:17 +0100
commitaad3ceff145724815da44195b73d45ebb6e960ae (patch)
treefaab64a6d4fe1c16380fa9b961286eced59caa61 /examples/web/shaders/shaders_basic_lighting.c
parente70fc278cf5450a906405b7bf55eb3f4ae7c026d (diff)
downloadraylib.com-aad3ceff145724815da44195b73d45ebb6e960ae.tar.gz
raylib.com-aad3ceff145724815da44195b73d45ebb6e960ae.zip
REVIEWED some examples
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));