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

    Function clamp01

    • Clamps the values of the 3-element vector a so that they are not less than 0.0 and not greater than 1.0, and stores the result in a

      Parameters

      • a: Vec3

        a 3-element vector object

      Returns Vec3

      a clamped to [0.0, 1.0]