diff options
author | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 17:21:24 -0500 |
---|---|---|
committer | Colin Noga <Tempus@chronometry.ca> | 2012-07-22 17:21:24 -0500 |
commit | 1b80d8bc9a41497a8394af371e6ddca2c75a2b72 (patch) | |
tree | d50a1399c2b89c5df89b0ab32f9941c6081f9335 /src/koopatlas/map.cpp | |
parent | 53116b7ae344edd0ed421a466fd6ae732c2d82d8 (diff) | |
download | kamek-1b80d8bc9a41497a8394af371e6ddca2c75a2b72.tar.gz kamek-1b80d8bc9a41497a8394af371e6ddca2c75a2b72.zip |
Added a comment for node info
Diffstat (limited to 'src/koopatlas/map.cpp')
-rw-r--r-- | src/koopatlas/map.cpp | 4 |
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); |