CatmullRom3

fun CatmullRom3(p0: Vector3, p1: Vector3, p2: Vector3, p3: Vector3, alpha: Double = 0.5)

Parameters

p0

The first control point.

p1

The starting anchor point.

p2

The ending anchor point.

p3

The second control point.

alpha

The tension of the curve. Use 0.0 for the uniform spline, 0.5 for the centripetal spline, 1.0 for the chordal spline.