SourceForge.net Logo

Flatland::Quad Class Reference

#include <shapes.hpp>

Inheritance diagram for Flatland::Quad:

Flatland::Geometry Flatland::Block Flatland::Line List of all members.

Detailed Description

Definition at line 15 of file shapes.hpp.

Public Member Functions

 Quad (float width, float height)
void UpdateBounds ()
void SetMass (Body body, float density) const
Shape GetShape () const
virtual float Extent (int i) const
vec2 EAxis (int i) const
const vec2GetCorners () const
bool Contains (const vec2 &v) const

Protected Attributes

float extent [2]
vec2 corners [4]

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