Removed debug print

This commit is contained in:
Trygve 2024-04-17 10:43:46 +02:00
parent 01ddd4e914
commit 2ee2936cf1

View File

@ -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 // all the pixels are in an array of floats from left to right, top to bottom
int offset = ((this->width * y) + x); int offset = ((this->width * y) + x);
std::cout << " " << x << ","<< y; //std::cout << " offset: " << offset << " " << x << ","<< y;
return *(this->data + offset); return *(this->data + offset);
} }