"L. Spiro Engine"
Public Member Functions | Protected Attributes

lst::CGeoClipmapInstance Class Reference

An instance of Geometry Clipmap terrain. More...

#include <LSTGeoClipmapInstance.h>

List of all members.

Public Member Functions

LSVOID LSE_CALL SetTrans (const CMatrix4x4 &_mTrans)

Protected Attributes

CMatrix4x4 m_mWorldTrans
CMatrix4x4 m_mInvWorldTrans

Detailed Description

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.


Member Function Documentation

LSVOID LSE_CALL lst::CGeoClipmapInstance::SetTrans ( const CMatrix4x4 &  _mTrans)

Set the transform of the terrain.

Parameters:
_mTransThe new transform of the terrain instance.

Member Data Documentation

Inverse transform.

Our transform.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator