Example #1
0
 public static void DrawPath(BezierCurveQuadV3D curve, float resolution = 0.1f)
 {
     for (float i = 0; i < 1f; i += resolution)
     {
         Gizmos.DrawLine(Lerps.BezierLerp.Lerp(curve, i), Lerps.BezierLerp.Lerp(curve, i + resolution));
     }
 }
Example #2
0
 public static void DrawPointsPath(BezierCurveQuadV3D curve)
 {
     Gizmos.DrawLine(curve.StartPos, curve.MidPos);
     Gizmos.DrawLine(curve.MidPos, curve.EndPos);
 }