diff options
| author | Ray <[email protected]> | 2021-03-19 20:14:14 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-19 20:14:14 +0100 |
| commit | be8d5a7ae2e5f89e7a03060a852883556c56c405 (patch) | |
| tree | 13cdfca6a13c572cf0ae5d9cbecd43fb90b5af94 /examples/shaders/shaders_basic_lighting.c | |
| parent | 990906871435fa056d9002810c9f4a46076207bb (diff) | |
| download | raylib-be8d5a7ae2e5f89e7a03060a852883556c56c405.tar.gz raylib-be8d5a7ae2e5f89e7a03060a852883556c56c405.zip | |
RENAMED: camera.type -> camera.projection
Diffstat (limited to 'examples/shaders/shaders_basic_lighting.c')
| -rw-r--r-- | examples/shaders/shaders_basic_lighting.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_basic_lighting.c b/examples/shaders/shaders_basic_lighting.c index 633fd012..1f7336a9 100644 --- a/examples/shaders/shaders_basic_lighting.c +++ b/examples/shaders/shaders_basic_lighting.c @@ -54,7 +54,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 Model modelA = LoadModelFromMesh(GenMeshTorus(0.4f, 1.0f, 16, 32)); |
