protected override void Draw(Settings settings) { base.Draw(settings); PolyShapesCallback callback = new PolyShapesCallback(); callback.m_circle.Radius = 2.0f; callback.m_circle.Position.Set(0.0f, 1.1f); callback.m_transform.SetIdentity(); callback.m_debugDraw = m_debugDraw; b2AABB aabb; callback.m_circle.ComputeAABB(out aabb, ref callback.m_transform, 0); m_world.QueryAABB(callback, aabb); b2Color color = new b2Color(0.4f, 0.7f, 0.8f); m_debugDraw.DrawCircle(callback.m_circle.Position, callback.m_circle.Radius, color); m_debugDraw.DrawString(5, m_textLine, "Press 1-5 to drop stuff"); m_textLine += 15; m_debugDraw.DrawString(5, m_textLine, "Press 'a' to (de)activate some bodies"); m_textLine += 15; m_debugDraw.DrawString(5, m_textLine, "Press 'd' to destroy a body"); m_textLine += 15; }