From 4597c723c8dc1ab83fe23d7b330cd2ce974cba5d Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 8 May 2011 20:57:24 +0200 Subject: Halve triangles/vertices per node, assume width and height is always 1. --- scene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scene.cpp') 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) { -- cgit v1.2.3