/// public void Draw(Draw draw){ Color c = Color.FromArgb(102, 127, 179); for (int i = 0; i < m_count - 1; ++i) { draw.DrawSegment(m_ps[i], m_ps[i+1], c); } }
/// Register a routine for debug drawing. The debug draw functions are called /// inside with World::DrawDebugData method. The debug draw object is owned /// by you and must remain in scope. public void SetDebugDraw(Draw debugDraw){ m_debugDraw = debugDraw; }