#include <terrain.h>
Inheritance diagram for iTerrainWrapper:
Public Methods | |
virtual csTerrainWrapper* | GetPrivateObject ()=0 |
Ugly. | |
virtual iTerrainObject* | GetTerrainObject ()=0 |
Get the iTerrainObject. | |
virtual void | SetTerrainObject (iTerrainObject *)=0 |
Set the iTerrainObject. | |
virtual iObject* | QueryObject ()=0 |
Get the iObject for this terrain. | |
virtual void | UpdateLighting (iLight **lights, int num_lights)=0 |
Light object according to the given array of lights (i.e. More... |
|
Light object according to the given array of lights (i.e. fill the vertex color array). No shadow calculation will be done. This is assumed to have been done earlier. This is a primitive lighting process based on the lights which hit one point of the sprite (usually the center). More elaborate lighting systems are possible but this will do for now. |