@sstorsveen/maths - v2.0.1
    Preparing search index...

    Module maths

    Maths is a collection of functions and constants generally relevant to 2D/3D geometry and graphics

    Example usage:

    import * as Maths from '@spissvinkel/maths/maths';
    

    Type Aliases

    FloatArray

    Variables

    TWO_PI
    PI_BY_2
    PI_BY_180
    TWO_PI_ROOT

    Functions

    cotan
    deg2rad
    clamp
    clamp01
    fpad
    lerp
    lerp2