working mouse picking

This commit is contained in:
2023-06-06 12:36:05 +02:00
parent a2b5424888
commit ccdcdac7c6
5 changed files with 38 additions and 21 deletions

View File

@@ -17,8 +17,10 @@ struct Camera {
Vec3f CamPos;
Vec3f m_Front {0, -1, 0};
float m_Yaw = -3.141592653f / 2.0f;
constexpr static float m_Pitch = -3.141592653f / 2.0f + 0.0000001f;
float m_Pitch = -3.141592653f / 2.0f - 0.0000001f;
};
class Renderer {