AABB2D Struct Reference

A data structure describing a 2D box. More...

#include <mgcd.h>

List of all members.

Public Attributes

Float x
Float y
Float rx
Float ry


Detailed Description

A data structure describing a 2D box.

The MGCD 2D api treat all objects on which the contact detection perform as 2D AABBs. User should use this struct to describe the objects

See also:
AABB3D

Member Data Documentation

Float AABB2D::x

x coordinate of box center

Float AABB2D::y

y coordinate of box center

Float AABB2D::rx

half of the size of a box in x direction

Float AABB2D::ry

half of the size of a box in y direction


The documentation for this struct was generated from the following file:
Generated on Thu Sep 6 00:44:55 2007 for MGCD by  doxygen 1.5.3