initCatmullRom method
dynamic
initCatmullRom(
- dynamic x0,
- dynamic x1,
- dynamic x2,
- dynamic x3,
- dynamic tension,
Implementation
initCatmullRom(x0, x1, x2, x3, tension) {
init(x1, x2, tension * (x2 - x0), tension * (x3 - x1));
}