16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 16:19:19 +02:00

Remove not needed casts, variables and switch from double precission to float precission for some angle vectors

This commit is contained in:
docentYT
2026-04-28 00:51:17 +02:00
parent cba106e22e
commit 623c4f827e
15 changed files with 44 additions and 49 deletions

View File

@@ -25,7 +25,7 @@ class TCamera {
bool SetMatrix(glm::dmat4 &Matrix);
void RaLook();
glm::dvec3 Angle; // pitch, yaw, roll
glm::vec3 Angle; // pitch, yaw, roll
glm::dvec3 Pos; // współrzędne obserwatora
glm::vec3 LookAt; // współrzędne punktu, na który ma patrzeć
glm::vec3 vUp;
@@ -36,7 +36,7 @@ class TCamera {
private:
glm::dvec3 m_moverate;
glm::dvec3 m_rotationoffsets; // requested changes to pitch, yaw and roll
glm::vec3 m_rotationoffsets; // requested changes to pitch, yaw and roll
};