diff options
| author | Ray <[email protected]> | 2021-03-19 13:56:46 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-03-19 13:56:46 +0100 |
| commit | 07d82a91c5e710bae05525b7a053893ff3771767 (patch) | |
| tree | e9d5d2ba4a4ceb7de35a7853c38508eff413a4bd /examples/core/core_vr_simulator.c | |
| parent | d4e2c331b1a751dd02cac36502bbb161406b0d80 (diff) | |
| download | raylib-07d82a91c5e710bae05525b7a053893ff3771767.tar.gz raylib-07d82a91c5e710bae05525b7a053893ff3771767.zip | |
WARNING: BREAKING: RENAMED: camera.type to camera.projection
Diffstat (limited to 'examples/core/core_vr_simulator.c')
| -rw-r--r-- | examples/core/core_vr_simulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_vr_simulator.c b/examples/core/core_vr_simulator.c index 8d24983c..8d0247f8 100644 --- a/examples/core/core_vr_simulator.c +++ b/examples/core/core_vr_simulator.c @@ -66,7 +66,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 2.0f, 0.0f }; // Camera looking at point camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target) camera.fovy = 60.0f; // Camera field-of-view Y - camera.type = CAMERA_PERSPECTIVE; // Camera type + camera.projection = CAMERA_PERSPECTIVE; // Camera type Vector3 cubePosition = { 0.0f, 0.0f, 0.0f }; |
