diff options
| author | Ray <[email protected]> | 2022-08-11 12:27:51 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-08-11 12:27:51 +0200 |
| commit | 4f6fbaed4137be6ba41609ce9a96c11fd240953d (patch) | |
| tree | 745bc6788b4ab70ac7fabd8b5db1dc4ad6e5e3bf /examples/core | |
| parent | ddb8be3564c957d52f892289fc19947ce1013f4a (diff) | |
| download | raylib-4f6fbaed4137be6ba41609ce9a96c11fd240953d.tar.gz raylib-4f6fbaed4137be6ba41609ce9a96c11fd240953d.zip | |
Update core_3d_camera_mode.c
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_3d_camera_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_3d_camera_mode.c b/examples/core/core_3d_camera_mode.c index ffa1acd6..6b4bceca 100644 --- a/examples/core/core_3d_camera_mode.c +++ b/examples/core/core_3d_camera_mode.c @@ -27,7 +27,7 @@ int main(void) // Define the camera to look into our 3d world Camera3D camera = { 0 }; - camera.position = (Vector3){ 0.0f, 10.0f, 10.0f }; // Camera position + camera.position = (Vector3){ 10.0f, 10.0f, 10.0f }; // Camera position 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 |
