lilith3d::StaticMesh Class Reference

#include <mesh.h>

Inheritance diagram for lilith3d::StaticMesh:

lilith3d::Mesh lilith3d::BuildingMesh lilith3d::TreeMesh List of all members.

Detailed Description

A static mesh doesn't have frame by frame animation, but it is free to move around the world. A rocket, a big rock, are both StaticMesh - they move but don't animate. Buildings are a special type of mesh (BuildingMesh) and have a subclass.


Public Member Functions

 StaticMesh (const StaticResource *meshResource)
 Constructing the mesh places it in the world.
virtual void IntersectRay (int flags, const grinliz::Vector3F &point, const grinliz::Vector3F &dir, LilithObjectList *vec)


Member Function Documentation

virtual void lilith3d::StaticMesh::IntersectRay ( int  flags,
const grinliz::Vector3F &  point,
const grinliz::Vector3F &  dir,
LilithObjectList *  vec 
) [virtual]

Check for intersection with the current Mesh.

Implements lilith3d::Mesh.

Reimplemented in lilith3d::BuildingMesh.


The documentation for this class was generated from the following file:
Generated on Fri Mar 23 19:36:27 2007 for Lilith3D by  doxygen 1.5.1-p1