removed one dependency
This commit is contained in:
parent
596bc8c4b1
commit
2f90827813
|
@ -1,5 +1,4 @@
|
|||
#include <stdexcept>
|
||||
#include <stdfloat>
|
||||
|
||||
#include <gdal/gdal.h>
|
||||
#include "gdal/gdal_priv.h"
|
||||
|
@ -40,4 +39,4 @@ 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);
|
||||
return *(this->data + offset);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue