This project is read-only.
The RectangleF is similiar to XNA's Rectangle structure but is using float values instead of integer for all coordinates. It is used - which is not the only place - by starLiGHT.Collision for the BroadPhase collision check. It provides very fast (but simple) intersection methods with other bounding volumes like OrientedRectangleF and CircleF.

The RectangleF edges are always parallel to the X- and Y-Axis.

The RectangleF can be used as a Axis-Aligned-Bounding-Rectangle and it's brother - the OrientedRectangleF - can be used as a Oriented-Bounding-Rectangle.

Last edited Dec 17, 2010 at 5:59 AM by Glatzemann, version 1

Comments

No comments yet.