"L. Spiro Engine"
|
An instance of Geometry Clipmap terrain. More...
#include <LSTGeoClipmapInstance.h>
Public Member Functions | |
LSVOID LSE_CALL | SetTrans (const CMatrix4x4 &_mTrans) |
Protected Attributes | |
CMatrix4x4 | m_mWorldTrans |
CMatrix4x4 | m_mInvWorldTrans |
An instance of Geometry Clipmap terrain.
Class CGeoClipmapInstance Description: An instance of Geometry Clipmap terrain. While the CGeoClipmap class handles the shared vertex and index buffers, this class manages each instance of actual terrain in the world. The CGeoClipmap acts as a manager for this class and maintains the master list of Geometry Clipmapping instances, passing the shared vertex and index buffers down when it is time to render. Instances can be loaded with any transform. This allows multiple instances to be combined to create caves, overhangs, etc., but most maps will have only one instance.
LSVOID LSE_CALL lst::CGeoClipmapInstance::SetTrans | ( | const CMatrix4x4 & | _mTrans | ) |
Set the transform of the terrain.
_mTrans | The new transform of the terrain instance. |
CMatrix4x4 lst::CGeoClipmapInstance::m_mInvWorldTrans [protected] |
Inverse transform.
CMatrix4x4 lst::CGeoClipmapInstance::m_mWorldTrans [protected] |
Our transform.