]> git.localhorst.tv Git - blobs.git/blobdiff - src/world/world.cpp
(slightly) better camera handling
[blobs.git] / src / world / world.cpp
index 0b1b22df6fca974c5657d9beeb745b270a4e1c23..eb03490204c722cf3f6f58425a2d88bc3ce2b022 100644 (file)
@@ -254,6 +254,9 @@ void Planet::BuildVAOs() {
                auto attrib = vao.MapAttributes(GL_WRITE_ONLY);
                float offset = sidelength * 0.5f;
 
+               // srf  0  1  2  3  4  5
+               //  up +Z +X +Y -Z -X -Y
+
                for (int index = 0, surface = 0; surface < 6; ++surface) {
                        for (int y = 0; y < sidelength; ++y) {
                                for (int x = 0; x < sidelength; ++x, ++index) {