pub fn add_cubic_bazier(
    start: Vector3,
    end: Vector3,
    control_1: Vector3,
    control_2: Vector3,
    resolution: i32
)
Expand description

Adds a cubic bezier curve to the current frame.

Arguments

  • start - A Vector3 representing the starting point of the curve.
  • end - A Vector3 representing the ending point of the curve.
  • control_1 - A Vector3 representing the first control point of the curve.
  • control_2 - A Vector3 representing the second control point of the curve.
  • resolution - An i32 representing the number of segments used to approximate the curve.