[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 // raylib defines two types of cameras: Camera3D and Camera2D
// Camera is a typedef for Camera3D // Camera is a typedef for Camera3D
Camera camera = { Camera camera = {
.position = {0.0f, 0.0f, 0.0f}, .position = {0.0f, 0.0f, 0.0f},
.target = {0.0f, 0.0f, 1.0f}, .target = {0.0f, 0.0f, 1.0f},
.up = {0.0f, 1.0f, 0.0f}, .up = {0.0f, 1.0f, 0.0f},
.fovy = 70.0f, .fovy = 70.0f,
.type = CAMERA_PERSPECTIVE .projection = CAMERA_PERSPECTIVE
}; };
// raylib supports loading of models, animations, images and sounds // raylib supports loading of models, animations, images and sounds