コード例 #1
0
 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);
 }
コード例 #2
0
 public void DrawArc(float radius, float angle, float rotation, Matrix4x4 matrix)
 {
     Vector3[] vertices = MathUtility.CalcArcVertex(radius, angle, rotation, matrix, true, subdivide);
     DrawPolygon(vertices);
 }