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_model_shader.c | |
| parent | 990906871435fa056d9002810c9f4a46076207bb (diff) | |
| download | raylib-be8d5a7ae2e5f89e7a03060a852883556c56c405.tar.gz raylib-be8d5a7ae2e5f89e7a03060a852883556c56c405.zip | |
RENAMED: camera.type -> camera.projection
Diffstat (limited to 'examples/shaders/shaders_model_shader.c')
| -rw-r--r-- | examples/shaders/shaders_model_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shaders/shaders_model_shader.c b/examples/shaders/shaders_model_shader.c index 07f15e7b..5c53b43e 100644 --- a/examples/shaders/shaders_model_shader.c +++ b/examples/shaders/shaders_model_shader.c @@ -41,7 +41,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 1.0f, -1.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 45.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; Model model = LoadModel("resources/models/watermill.obj"); // Load OBJ model Texture2D texture = LoadTexture("resources/models/watermill_diffuse.png"); // Load model texture |
