mirror of
https://gitlab.com/Trygve/contour-creator.git
synced 2026-03-14 16:04:04 +00:00
removed one dependency
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user