mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
[raylib/en] Updated example (#4775)
This commit is contained in:
parent
0dbdc6dd28
commit
fb452907a3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user