From 2ee2936cf1650307aae58d10d350cd923f5d6e86 Mon Sep 17 00:00:00 2001 From: Trygve Date: Wed, 17 Apr 2024 10:43:46 +0200 Subject: [PATCH] Removed debug print --- src/HeightMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HeightMap.cpp b/src/HeightMap.cpp index 74eb37c..d2455e1 100644 --- a/src/HeightMap.cpp +++ b/src/HeightMap.cpp @@ -40,6 +40,6 @@ float HeightMap::get_pixel(int x, int y) { // all the pixels are in an array of floats from left to right, top to bottom int offset = ((this->width * y) + x); - std::cout << " " << x << ","<< y; + //std::cout << " offset: " << offset << " " << x << ","<< y; return *(this->data + offset); }