mercator
0.4.0
A terrain generation library for the Worldforge system.
|
5 #ifndef MERCATOR_AREASHADER_H
6 #define MERCATOR_AREASHADER_H
37 #endif // of MERCATOR_AREASHADER_H
void shade(Surface &s) const override
Populate a Surface with data.
Class storing heightfield and other data for a single fixed size square area of terrain defined by fo...
Shader for handling areas.
Data store for terrain surface data.
Region of terrain surface which is modified.
bool checkIntersect(const Segment &) const override
Check whether this Shader has any effect on the given Segment.
AreaShader(int layer)
Constructor.
Base class for Shader objects which create surface data for use when rendering terrain.