diff options
| author | Ray <[email protected]> | 2021-03-19 13:57:24 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-19 13:57:24 +0100 |
| commit | a3a26dd470338605d1ecee7e39f0f5e93d6948d3 (patch) | |
| tree | c9a13533e041ab82a1555bef0c1759371bcf1fec /examples/web/models/models_loading.c | |
| parent | 4a387acc36af8b6a54883894d1d70779e6ddb457 (diff) | |
| download | raylib.com-a3a26dd470338605d1ecee7e39f0f5e93d6948d3.tar.gz raylib.com-a3a26dd470338605d1ecee7e39f0f5e93d6948d3.zip | |
RENAMED: camera.type to camera.projection
Diffstat (limited to 'examples/web/models/models_loading.c')
| -rw-r--r-- | examples/web/models/models_loading.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/web/models/models_loading.c b/examples/web/models/models_loading.c index 54ebcd9..e88c902 100644 --- a/examples/web/models/models_loading.c +++ b/examples/web/models/models_loading.c @@ -62,7 +62,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 10.0f, 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 model = LoadModel("resources/models/castle.obj"); // Load model texture = LoadTexture("resources/models/castle_diffuse.png"); // Load model texture |
