From fb452907a35cd6e603190a6a3af40bfb85684381 Mon Sep 17 00:00:00 2001 From: Mario Ledinscak Date: Mon, 13 May 2024 18:33:43 +0200 Subject: [raylib/en] Updated example (#4775) --- raylib.html.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'raylib.html.markdown') 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 -- cgit v1.2.3