summaryrefslogtreecommitdiff
path: root/scene.cpp
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-05-08 20:57:24 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-05-08 20:57:24 +0200
commit4597c723c8dc1ab83fe23d7b330cd2ce974cba5d (patch)
treecdbeb00d3471e396dd343a06bb33d303c15a408a /scene.cpp
parent3522593087c5e9037b56b5214099c466cbe9ee61 (diff)
Halve triangles/vertices per node, assume width and height is always 1.
Diffstat (limited to 'scene.cpp')
-rw-r--r--scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene.cpp b/scene.cpp
index e749347..489f72c 100644
--- a/scene.cpp
+++ b/scene.cpp
@@ -298,8 +298,8 @@ void Scene::render() {
yvel = 0;
}
}
- move_str = (boost::format("%s n: %.2f,%.2f %.2fx%.2f c: %d,%d %dx%d")
- % pos.str() % node->x % node->y % node->width % node->height
+ move_str = (boost::format("%s n: %.2f,%.2f c: %d,%d %dx%d")
+ % pos.str() % node->x % node->y
% node->chunk->x % node->chunk->y % node->chunk->width % node->chunk->height).str();
if(last_node != node) {