• An expression that calculates the Euclidean distance between two expressions representing points.

    Type Parameters

    • T extends string | number | Vector3

    Parameters

    • first: Expression<T>

      The first expression to evaluate. Should result in a number, point or color.

    • second: Expression<T>

      The second expression to evaluate. Should result in a number, point or color.

    Returns Expression<number>

    An expression that calculates the Euclidean distance between two expressions representing points. Results in a number.