@kognifai/cogsengine
    Preparing search index...

    Function sqrDist

    • Calculates the squared euclidian distance between two vec4's

      Parameters

      • a: ReadonlyVec4

        the first operand

      • b: ReadonlyVec4

        the second operand

      Returns number

      squared distance between a and b