Contents

reflect(_:n:)

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

Declaration

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

See Also

Geometry Functions