diff options
| author | Ray <[email protected]> | 2021-03-19 22:40:17 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-19 22:40:17 +0100 |
| commit | aad3ceff145724815da44195b73d45ebb6e960ae (patch) | |
| tree | faab64a6d4fe1c16380fa9b961286eced59caa61 /examples/web/shaders/shaders_basic_lighting.c | |
| parent | e70fc278cf5450a906405b7bf55eb3f4ae7c026d (diff) | |
| download | raylib.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.c | 2 |
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)); |
