Skip to content

Commit bdf273a

Browse files
authored
Merge pull request #353 from Bigfoot71/master
Refine default `Camera3D` parameters
2 parents 84f97bc + 7435a20 commit bdf273a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/Camera3D.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ class Camera3D : public ::Camera3D {
2525
*/
2626
Camera3D(
2727
::Vector3 position,
28-
::Vector3 target = ::Vector3{0.0f, 0.0f, 0.0f},
28+
::Vector3 target = ::Vector3{0.0f, 0.0f, -1.0f},
2929
::Vector3 up = ::Vector3{0.0f, 1.0f, 0.0f},
30-
float fovy = 0,
30+
float fovy = 45.0f,
3131
int projection = CAMERA_PERSPECTIVE)
3232
: ::Camera3D{position, target, up, fovy, projection} {}
3333

0 commit comments

Comments
 (0)