diff options
author | Mario Ledinscak <ledinscak@yahoo.com> | 2024-05-13 18:33:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 10:33:43 -0600 |
commit | fb452907a35cd6e603190a6a3af40bfb85684381 (patch) | |
tree | 0429fe94a79da063a8d434583e7cba86a128dcc8 | |
parent | 0dbdc6dd286065bbc21dc24b7ad83107c877a400 (diff) |
[raylib/en] Updated example (#4775)
-rw-r--r-- | raylib.html.markdown | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/raylib.html.markdown b/raylib.html.markdown index 7057e525..74a2443b 100644 --- a/raylib.html.markdown +++ b/raylib.html.markdown @@ -36,11 +36,11 @@ int main(void) // raylib defines two types of cameras: Camera3D and Camera2D // Camera is a typedef for Camera3D Camera camera = { - .position = {0.0f, 0.0f, 0.0f}, - .target = {0.0f, 0.0f, 1.0f}, - .up = {0.0f, 1.0f, 0.0f}, - .fovy = 70.0f, - .type = CAMERA_PERSPECTIVE + .position = {0.0f, 0.0f, 0.0f}, + .target = {0.0f, 0.0f, 1.0f}, + .up = {0.0f, 1.0f, 0.0f}, + .fovy = 70.0f, + .projection = CAMERA_PERSPECTIVE }; // raylib supports loading of models, animations, images and sounds |