Skip to content

Commit

Permalink
fovy
Browse files Browse the repository at this point in the history
  • Loading branch information
kai-z99 committed Aug 8, 2024
1 parent 2c6bb8e commit dc882c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/core/core_3d_camera_first_person.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,28 +65,28 @@ int main(void)
{
cameraMode = CAMERA_FREE;
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Reset roll
camera.fovy = 60.0f;
//camera.fovy = 60.0f;
}

if (IsKeyPressed(KEY_TWO))
{
cameraMode = CAMERA_FIRST_PERSON;
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Reset roll
camera.fovy = 60.0f;
//camera.fovy = 60.0f;
}

if (IsKeyPressed(KEY_THREE))
{
cameraMode = CAMERA_THIRD_PERSON;
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Reset roll
camera.fovy = 60.0f;
//camera.fovy = 60.0f;
}

if (IsKeyPressed(KEY_FOUR))
{
cameraMode = CAMERA_ORBITAL;
camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Reset roll
camera.fovy = 60.0f;
//camera.fovy = 60.0f;
}

// Switch camera projection
Expand Down

0 comments on commit dc882c5

Please sign in to comment.