SourceForge.net Logo

Flatland::Geometry Class Reference

#include <flatland.hpp>

Inheritance diagram for Flatland::Geometry:

Flatland::Circle Flatland::Composite Flatland::Quad Flatland::Terrain Flatland::Block Flatland::Line List of all members.

Detailed Description

Definition at line 26 of file flatland.hpp.

Public Member Functions

 Geometry ()
virtual void UpdateBounds ()=0
virtual void SetCenter (const vec2 &center)
vec2 Center () const
virtual void SetAxis (const vec2 &axis)
void Rotate (float theta)
void Rotate (const vec2 &xform)
vec2 Axis () const
vec2 Axis (int i) const
virtual void SetMass (Body body, float density) const
virtual Shape GetShape () const=0
const aabbGetBounds () const

Protected Attributes

aabb bounds
vec2 axis
vec2 center

The documentation for this class was generated from the following files:
Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1