Contents

reflect(_:n:)

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

Declaration

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

See Also

Geometry Functions