diff options
| author | raysan5 <[email protected]> | 2018-05-01 12:31:03 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2018-05-01 12:31:03 +0200 |
| commit | 198d7392560d1eb0dc7b9c8801a19492f753e734 (patch) | |
| tree | 500b0a373fc79bb49dd20b5c20b6624f5fb6c4c2 /examples/core | |
| parent | 400c345f96538299b5c40078c4e4d25a1b958408 (diff) | |
| download | raylib-198d7392560d1eb0dc7b9c8801a19492f753e734.tar.gz raylib-198d7392560d1eb0dc7b9c8801a19492f753e734.zip | |
BREAKING CHANGE: Renamed Camera -> Camera3D
Just added a fallback in the meantime...
Diffstat (limited to 'examples/core')
| -rw-r--r-- | examples/core/core_3d_mode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/core/core_3d_mode.c b/examples/core/core_3d_mode.c index 5f761655..a94ec648 100644 --- a/examples/core/core_3d_mode.c +++ b/examples/core/core_3d_mode.c @@ -21,7 +21,7 @@ int main() InitWindow(screenWidth, screenHeight, "raylib [core] example - 3d mode"); // Define the camera to look into our 3d world - Camera camera; + Camera3D camera; 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.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target) |
