• Calculates the refraction vector of two vectors.

    Parameters

    • vect1: ChalkboardVector

      The first vector (the incident vector)

    • vect2: ChalkboardVector

      The second vector (the normal vector)

    • refractiveIndex: number

      The refractive index of the refractive medium

    Returns ChalkboardVector

Generated using TypeDoc