void DrawDot(Body body, IDebugDraw debugDraw) { debugDraw.DrawDot(1.75, body.Position, dotColor); }
private static void SpaceDebugDrawDotCallback(double size, Vect pos, DebugColor color, voidptr_t data) { IDebugDraw debugDraw = NativeInterop.FromIntPtr <IDebugDraw>(data); debugDraw.DrawDot(size, pos, color); }