Small World Engine API Reference - v0.46.1
    Preparing search index...

    Class Curve3DAbstract

    Base class for mathematical 3D curves.

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Evaluates the point on the curve at parameter t (0.0 to 1.0).

      Parameters

      • t: number

        Interpolation factor.

      • Optionalout: Vector3D

        Optional target vector to prevent allocation.

      Returns Vector3D

    • Approximates the tangent (derivative) vector at parameter t.

      Parameters

      • t: number

        Interpolation factor.

      • Optionalout: Vector3D

        Optional target vector to prevent allocation.

      Returns Vector3D