public virtual void Draw(GameTime gameTime, IDebugDraw debugDraw) { space.DebugDraw(debugDraw); var colorMagenta = new DebugColor(1, 0, 1, 1); debugDraw.DrawCircle(ChipmunkDemoGame.ChipmunkDemoMouse, 0.0, 5, colorMagenta, colorMagenta); }
private static void SpaceDebugDrawCircleCallback(Vect pos, double angle, double radius, DebugColor outlineColor, DebugColor fillColor, voidptr_t data) { IDebugDraw debugDraw = NativeInterop.FromIntPtr <IDebugDraw>(data); debugDraw.DrawCircle(pos, angle, radius, outlineColor, fillColor); }