summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--raylib.html.markdown10
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