L3DT documentation
Large 3D terrain generator

zmap_SetMinMaxAlt

Description

Set the stored minimum and maximum altitude of a map, in metres. This function only changes the values returned by zmap_GetMinMaxAlt, and does not change any height values in the map.

Note this function fails for map types other than MAP_Heightfield and MAP_WaterMap.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetMinMaxAlt(ZMAP hMap, float& minval, float& maxval);

Arguments

Name Type Comment
hMap ZMAP A ZMAP handle to the map, the minimum and maximum altitude of which is to be set.
minval float& The value of the minimum altitude (passed by reference.)
maxval float& The value of the maximum altitude (passed by reference.)

Return value

False if an error occurred, and true otherwise.

Comments

None.

 
zeolite/functions/zmap_setminmaxalt.txt · Last modified: 2017/08/31 05:22 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki