summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/koopatlas/map.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/koopatlas/map.cpp b/src/koopatlas/map.cpp
index 46838d9..f9403ba 100644
--- a/src/koopatlas/map.cpp
+++ b/src/koopatlas/map.cpp
@@ -103,6 +103,10 @@ int dWMMap_c::onDraw() {
short rz = 0x6000;
short rx = 0x4000;
short ry = 0x8000;
+
+ // Node rotation (0x6000, 0x4000, 0x8000)
+ // Node Position (node->x, -node->y + 4.0, 498.0)
+ // Node Scale (0.8)
renderer.nodeMatrix.translation(384.0, -504.0 + 4.0, 498.0);
renderer.nodeMatrix.applyRotationYXZ(&ry, &rx, &rz);
renderer.nodeModel.setDrawMatrix(renderer.nodeMatrix);