Skip to content
FutureBlitz

    Install

    Import std.math.curves

    CatmullRom

    std.math.curves

    function

    Public Function CatmullRom(a: Vec2, b: Vec2, c: Vec2, d: Vec2, t: Float): Vec2

    The point t of the way from b to c on the uniform Catmull-Rom spline through a, b, c, and d: a Hermite curve whose tangents at b and c point from the points on either side.

    std/math/curves.fb, line 90

    function

    Public Function CatmullRom(a: Vec3, b: Vec3, c: Vec3, d: Vec3, t: Float): Vec3

    The point t of the way from b to c on the uniform Catmull-Rom spline through a, b, c, and d: a Hermite curve whose tangents at b and c point from the points on either side.

    std/math/curves.fb, line 97

    Report an issue with this page or with FutureBlitz on GitHub.