Browse Source

Revert "Update core_3d_camera_mode.c"

This reverts commit 4f6fbaed4137be6ba41609ce9a96c11fd240953d.
Ray 3 years ago
parent
commit
75ece337ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/core/core_3d_camera_mode.c

+ 1 - 1
examples/core/core_3d_camera_mode.c

@@ -27,7 +27,7 @@ int main(void)
 
 
     // Define the camera to look into our 3d world
     // Define the camera to look into our 3d world
     Camera3D camera = { 0 };
     Camera3D camera = { 0 };
-    camera.position = (Vector3){ 10.0f, 10.0f, 10.0f };  // Camera position
+    camera.position = (Vector3){ 0.0f, 10.0f, 10.0f };  // Camera position
     camera.target = (Vector3){ 0.0f, 0.0f, 0.0f };      // Camera looking at point
     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.up = (Vector3){ 0.0f, 1.0f, 0.0f };          // Camera up vector (rotation towards target)
     camera.fovy = 45.0f;                                // Camera field-of-view Y
     camera.fovy = 45.0f;                                // Camera field-of-view Y