vec2-fn
    Preparing search index...

    Function isZero

    • Check whether a vector is exactly equal to zero (0,0).

      Parameters

      Returns boolean

      • Boolean result of whether the vector is equal to zero.
      isZero({ x: 0, y: 0 }); // -> true