This project is read-only.

Minor DebugDrawer/PhysicsObject fix

Aug 18, 2008 at 5:42 AM
In the latest and greatest code, there's a bug where the debug drawer is rendering the bounding boxes for everything incorrectly.  This can be easilly fixed in the game code by changing the following in the JigLibGame code in the file PhysicsObject.cs on line 116:

Change:
BoundingBox box = new BoundingBox();

To:
BoundingBox box = new BoundingBox(new Vector3(float.PositiveInfinity), new Vector3(float.NegativeInfinity));

And everything should render correctly.
Jan 12, 2009 at 8:47 AM
That change is added.
Coordinator
Jan 13, 2009 at 5:20 PM
same but a bit better...

BoundingBox box = BoundingBoxHelper.InitialBox;