GetSplinePointCatmullRom method
Implementation
Vector2D GetSplinePointCatmullRom(
Vector2D p1,
Vector2D p2,
Vector2D p3,
Vector2D p4,
num t,
) => run(
() => 'GetSplinePointCatmullRom($p1, $p2, $p3, $p4, $t)',
() => rl.Core.GetSplinePointCatmullRom(
rl.Temp.Vector2$.Ref1(p1).ref,
rl.Temp.Vector2$.Ref2(p2).ref,
rl.Temp.Vector2$.Ref3(p3).ref,
rl.Temp.Vector2$.Ref4(p4).ref,
t.toDouble(),
).toD(),
);