public void DrawSolidCircle(CCPoint center, float radius, b2Color color) { base.DrawCircle(center.ToCCPoint(), radius, color.ToCCColor4B()); }
public void DrawSegment(CCPoint from, CCPoint to, float radius, b2Color color) { base.DrawSegment(from.ToCCPoint(), to.ToCCPoint(), radius, color.ToCCColor4F()); }
public void DrawCircle(CCPoint center, float radius, float angle, int segments, b2Color color) { base.DrawCircle(center.ToCCPoint(), radius, angle, segments, color.ToCCColor4B()); }
public void DrawDot(CCPoint pos, float radius, b2Color color) { //base.DrawDot(pos.ToCCPoint(), radius, color.ToCCColor4F()); base.DrawSolidCircle(pos.ToCCPoint(), radius, color.ToCCColor4B()); }
public void DrawCircle(CCPoint center, float radius, b2Color color) { var centerPoint = center.ToCCPoint(); var colorOutline = color.ToCCColor4B(); var colorFill = colorOutline * 0.5f; base.DrawCircle(centerPoint, radius, colorOutline); base.DrawSolidCircle(centerPoint, radius, colorFill); }