Contents

reflect(_:n:)

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

Declaration

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

See Also

Geometry Functions