@kognifai/cogsengine
    Preparing search index...

    Function distance

    • Calculates the euclidian distance between two vec4's

      Parameters

      • a: ReadonlyVec4

        the first operand

      • b: ReadonlyVec4

        the second operand

      Returns number

      distance between a and b