[raylib/en] Updated example (#4775)

This commit is contained in:
Mario Ledinscak 2024-05-13 18:33:43 +02:00 committed by GitHub
parent 0dbdc6dd28
commit fb452907a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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