vec2-fn
    Preparing search index...

    Function lengthSq

    • Get the squared length of a vector.

      Parameters

      Returns number

      • The number result of the squared vector length.
      lengthSq({ x: 3, y: 4 }); // -> 25