X-Git-Url: http://git.localhorst.tv/?p=blobs.git;a=blobdiff_plain;f=src%2Fworld%2FPlanet.hpp;h=7ac6b570256f7b256679b067ca8887489a4c3c59;hp=c109934d40e012989cfc6b806610df8821213327;hb=b9af958c3f80a966bd31c622a45d0f3375bf2c3a;hpb=dd8b3145a03ed676b0ae6311c29fc3d68f666b15 diff --git a/src/world/Planet.hpp b/src/world/Planet.hpp index c109934..7ac6b57 100644 --- a/src/world/Planet.hpp +++ b/src/world/Planet.hpp @@ -83,7 +83,7 @@ public: static glm::dmat3 SurfaceOrientation(int srf) noexcept { glm::dmat3 mat(0.0); mat[(srf + 0) % 3][0] = 1.0; - mat[(srf + 2) % 3][1] = srf < 3 ? 1.0 : -1.0; + mat[(srf + 2) % 3][1] = srf < 3 ? -1.0 : 1.0; mat[(srf + 1) % 3][2] = srf < 3 ? 1.0 : -1.0; return mat; }