L3DT documentation
Large 3D terrain generator



Calculate the value of a point in the map via linear interpolation of the nearest pixels.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_LinInterp(ZMAP hMap, double dx, double dy, void* pValue);


Name Type Comment
hMap ZMAP A handle to a map whose value is to be retrieved.
dx double The x-coordinate of the point to be sampled.
dy double The y-coordinate of the point to be sampled.
pValue void* A pointer (of unknown type) to the user-supplied entity to receive the pixel value.

Return value

False if an error occurred, and true otherwise.



zeolite/functions/zmap_lininterp.txt · Last modified: 2017/08/31 06:37 (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