public void DrawArc(Vector3 position, float radius, float angle, float rotation) { Vector3[] vertices = MathUtility.CalcArcVertex(radius, angle, rotation, Matrix4x4.Translate(position), true, subdivide); DrawPolygon(vertices); }
public void DrawArc(float radius, float angle, float rotation, Matrix4x4 matrix) { Vector3[] vertices = MathUtility.CalcArcVertex(radius, angle, rotation, matrix, true, subdivide); DrawPolygon(vertices); }