• Checks if the plane is facing a given direction

    Returns

    True is the vector "direction" is the same side than the plane normal.

    Parameters

    • plane: ReadonlyPlane
    • direction: ReadonlyVector3

      the direction to check if the plane is facing

    • epsilon: number

      value the dot product is compared against (returns true if dot <= epsilon)

    Returns boolean