@kognifai/cogsengine
    Preparing search index...

    Function sqrDist

    • Calculates the squared euclidian distance between two vec3's

      Parameters

      • a: ReadonlyVec3

        the first operand

      • b: ReadonlyVec3

        the second operand

      Returns number

      squared distance between a and b