L3DT documentation
Large 3D terrain generator

zmap_SetWrapFlag

Description

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.

Files

Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_SetWrapFlag(ZMAP hMap, bool WrapFlag);

Arguments

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.

Comments

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