From 1b80d8bc9a41497a8394af371e6ddca2c75a2b72 Mon Sep 17 00:00:00 2001 From: Colin Noga Date: Sun, 22 Jul 2012 17:21:24 -0500 Subject: Added a comment for node info --- src/koopatlas/map.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/koopatlas') 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); -- cgit v1.2.3