MathEngine
Home Page       Structures       File List       Functions and Macros      

McdRwBSP.h File Reference

The Mcd geometry type for Renderware BSP trees. More...

#include "McdFrame.h"

Typedefs

typedef McdGeometry McdRwBSP
 McdRwBSP is a concrete McdGeometry type.

typedef McdRwBSPMcdRwBSPID
 References to MathEngine objects are made using "ID" tokens instead of explicit pointers.

typedef struct _rpWorld McdRwWorld
 The Renderware "RpWorld" type is aliased to "McdRwWorld." Wherever you see McdRwWorld, you may pass in an RpWorld. More...

typedef McdRwWorldMcdRwWorldID
 References to MathEngine objects are made using "ID" tokens instead of explicit pointers.


Functions

void McdRwBSPRegisterType ()
 Register the McdRwBSP geometry type with the Mcd system.

void McdRwBSPRegisterInteractions ()
 Register all available interactions between a McdRwBSP type and any other geometry type provided with the Mcd system.

int McdRwBSPGetTypeID ( )
 Returns a unique ID identifying the McdRwBSP geometry type.

McdRwBSPID McdRwBSPCreate ( McdRwWorldID w )
 Gets new RwBSP from pool, and sets its RpWorld to given value.

void McdRwBSPSetRpWorld ( McdRwBSPID g, McdRwWorldID w )
 Set RwBSP's RpWorld to given value.

McdRwWorldID McdRwBSPGetRpWorld ( McdRwBSPID g )
 Get RwBSP's RpWorld.


Detailed Description

The Mcd geometry type for Renderware BSP trees.


Typedef Documentation

typedef struct _rpWorld McdRwWorld

The Renderware "RpWorld" type is aliased to "McdRwWorld." Wherever you see McdRwWorld, you may pass in an RpWorld.

This is the "data" of the McdRwBSP geometry. The BSP in the RpWorld defines the collision geometry.


MathEngine Collision Toolkit - Version 0.0.5 Alpha - Reference Manual generated using doxygen at Wed Oct 11 00:34:41 2000

Copyright MathEngine PLC 2000, all rights reserved.