L3DT documentation
Large 3D terrain generator



Set the flag for whether the map is tiled such that the left/right and top/bottom edges wrap around to produce an infinitely repeating map.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetWrapFlag(ZMAP hMap, bool WrapFlag);


Name Type Comment
hMap ZMAP A ZMAP handle to a map, the WrapFlag of which is to be set.
WrapFlag bool The desired wrap flag state.

Return value

False if an error occurred, and true otherwise.


No free lunch

This function does not change the map pixel values to force edges to line up. If the map does not already have matching borders, this function will not make them so.

zeolite/functions/zmap_setwrapflag.txt · Last modified: 2017/08/31 04:15 (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