(FILE* fp, int nx, int ny, double xs, double ys, double xo = 0, double yo = 0, float* color = NULL, int averageNormals = 1)
Reads an elevation map from a file.
Documentation
Reads an elevation map from a file. The file should contain
nx * ny floating-point numbers in text format; each number
is the elevation (z coordinate) of a point.