@kognifai/cogsengine
    Preparing search index...

    Function equals

    • Returns whether or not the vectors have approximately the same elements in the same position.

      Parameters

      • a: ReadonlyVec2

        The first vector.

      • b: ReadonlyVec2

        The second vector.

      Returns boolean

      True if the vectors are equal, false otherwise.