Function cgl_rs::graphics::widgets::add_cubic_bazier_points
source · pub fn add_cubic_bazier_points(
start: Vector3,
end: Vector3,
control_1: Vector3,
control_2: Vector3,
resolution: i32
)
Expand description
Adds a cubic bezier curve to the current frame using points.
Arguments
start
- AVector3
representing the starting point of the curve.end
- AVector3
representing the ending point of the curve.control_1
- AVector3
representing the first control point of the curve.control_2
- AVector3
representing the second control point of the curve.resolution
- Ani32
representing the number of segments used to approximate the curve.