mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2024-11-22 07:10:18 +00:00
Removed debug print
This commit is contained in:
parent
01ddd4e914
commit
2ee2936cf1
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user