Track::AABBDrawable Class Reference

A drawable with an axis aligned bounding box. More...

#include <AABBDrawable.h>

Inheritance diagram for Track::AABBDrawable:

Track::Drawable Track::AABBBounded Engine::GameObjects::Car Track::DrawableMesh Track::PathEdge Track::PathVertex Track::BulletMesh List of all members.

Public Member Functions

virtual void conditional_draw (const OcclusionTester &occlusion_tester) const
 Draw the object if any part of its bounding box is in view.

Detailed Description

A drawable with an axis aligned bounding box.

The bounding box can be used to detect if it is worth drawing.

Definition at line 23 of file AABBDrawable.h.


Member Function Documentation

void Track::AABBDrawable::conditional_draw ( const OcclusionTester occlusion_tester  )  const [virtual]

Draw the object if any part of its bounding box is in view.

Reimplemented from Track::Drawable.

Reimplemented in Track::PathEdge.

Definition at line 17 of file AABBDrawable.cpp.


The documentation for this class was generated from the following files:
Get Racer at SourceForge.net. Fast, secure and Free Open Source software downloads

Generated at Mon Sep 6 00:41:18 2010 by Doxygen version 1.4.7 for Racer version svn335.