Review camera definition on examples

This commit is contained in:
Ray San 2018-04-11 10:13:00 +02:00
parent cc3b8645df
commit 4cc12ef2b3
17 changed files with 70 additions and 48 deletions

View file

@ -48,6 +48,7 @@ int main()
camera.target = (Vector3){ 0.0f, 12.0f, 0.0f }; // Camera looking at point
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target)
camera.fovy = 30.0f; // Camera field-of-view Y
camera.type = CAMERA_PERSPECTIVE; // Camera type
float pitch = 0.0f;
float roll = 0.0f;