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 | |
| parent | d4e2c331b1a751dd02cac36502bbb161406b0d80 (diff) | |
| download | raylib-07d82a91c5e710bae05525b7a053893ff3771767.tar.gz raylib-07d82a91c5e710bae05525b7a053893ff3771767.zip | |
WARNING: BREAKING: RENAMED: camera.type to camera.projection
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_3d_camera_first_person.c | 2 | ||||
| -rw-r--r-- | examples/core/core_3d_camera_free.c | 2 | ||||
| -rw-r--r-- | examples/core/core_3d_camera_mode.c | 2 | ||||
| -rw-r--r-- | examples/core/core_3d_picking.c | 2 | ||||
| -rw-r--r-- | examples/core/core_quat_conversion.c | 2 | ||||
| -rw-r--r-- | examples/core/core_vr_simulator.c | 2 | ||||
| -rw-r--r-- | examples/core/core_world_screen.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/core/core_3d_camera_first_person.c b/examples/core/core_3d_camera_first_person.c index 3377aeaf..59fc8307 100644 --- a/examples/core/core_3d_camera_first_person.c +++ b/examples/core/core_3d_camera_first_person.c @@ -28,7 +28,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 1.8f, 0.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 60.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; // Generates some random columns float heights[MAX_COLUMNS] = { 0 }; diff --git a/examples/core/core_3d_camera_free.c b/examples/core/core_3d_camera_free.c index 5053fd63..f469d121 100644 --- a/examples/core/core_3d_camera_free.c +++ b/examples/core/core_3d_camera_free.c @@ -26,7 +26,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 0.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 Vector3 cubePosition = { 0.0f, 0.0f, 0.0f }; diff --git a/examples/core/core_3d_camera_mode.c b/examples/core/core_3d_camera_mode.c index eae6c888..48bac9d7 100644 --- a/examples/core/core_3d_camera_mode.c +++ b/examples/core/core_3d_camera_mode.c @@ -26,7 +26,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 0.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 Vector3 cubePosition = { 0.0f, 0.0f, 0.0f }; diff --git a/examples/core/core_3d_picking.c b/examples/core/core_3d_picking.c index 1360f006..99b681e3 100644 --- a/examples/core/core_3d_picking.c +++ b/examples/core/core_3d_picking.c @@ -26,7 +26,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 0.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 Vector3 cubePosition = { 0.0f, 1.0f, 0.0f }; Vector3 cubeSize = { 2.0f, 2.0f, 2.0f }; diff --git a/examples/core/core_quat_conversion.c b/examples/core/core_quat_conversion.c index cd7777e6..a7ea8247 100644 --- a/examples/core/core_quat_conversion.c +++ b/examples/core/core_quat_conversion.c @@ -32,7 +32,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 0.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 Mesh mesh = GenMeshCylinder(0.2f, 1.0f, 32); Model model = LoadModelFromMesh(mesh); 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 }; diff --git a/examples/core/core_world_screen.c b/examples/core/core_world_screen.c index be1a96b9..d951c922 100644 --- a/examples/core/core_world_screen.c +++ b/examples/core/core_world_screen.c @@ -26,7 +26,7 @@ int main(void) camera.target = (Vector3){ 0.0f, 0.0f, 0.0f }; camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; camera.fovy = 45.0f; - camera.type = CAMERA_PERSPECTIVE; + camera.projection = CAMERA_PERSPECTIVE; Vector3 cubePosition = { 0.0f, 0.0f, 0.0f }; Vector2 cubeScreenPosition = { 0.0f, 0.0f }; |
