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

    Function powInto

    • b = a ^ s

      Raises the 3 elements of vector a to the power of s and stores the result in b

      Parameters

      • a: Vec3

        a 3-element vector object

      • s: number

        a scalar value

      • b: Vec3

        a 3-element vector in which to store the result

      Returns Vec3

      b as the result of a ^ s