Contents

reflect(_:n:)

Returns the reflection direction of an incident vector and a unit normal vector.

Declaration

func reflect(_ x: SIMD4<Double>, n: SIMD4<Double>) -> SIMD4<Double>

See Also

Geometry Functions