fixed cam distance

This commit is contained in:
2023-06-06 17:04:17 +02:00
parent 92035d7b9e
commit e984ed9085
3 changed files with 21 additions and 8 deletions

View File

@@ -15,8 +15,8 @@ struct Camera {
Mat4f InvViewMatrix;
Mat4f InvProjectionMatrix;
Vec3f CamPos {0, 25, 0};
float CamDistance = 25.0f;
Vec3f CamPos {0, CamDistance, 0};
Vec2f CamLook {};
float m_Yaw = -3.141592653f / 2.0f;