Contents

reflect(_:n:)

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

Declaration

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

See Also

Geometry Functions