feat: updated default fovy to 70

This commit is contained in:
Sara 2024-09-17 15:47:21 +02:00
parent 86e64f82ed
commit bf5146b578

View file

@ -51,7 +51,7 @@ Camera3D CameraNodeGetCamera(CameraNode *self) {
Vector3 forward = MATRIX_FORWARD(mat); Vector3 forward = MATRIX_FORWARD(mat);
// construct a new camera at the global transform location and facing the forward vector // construct a new camera at the global transform location and facing the forward vector
return (Camera3D){ return (Camera3D){
.fovy = 90, .fovy = 70,
.position = global_transform.translation, .position = global_transform.translation,
.projection = CAMERA_PERSPECTIVE, .projection = CAMERA_PERSPECTIVE,
.target = Vector3Add(global_transform.translation, forward), .target = Vector3Add(global_transform.translation, forward),