Vector4:reflect

From Wake
Jump to: navigation, search

Calculate the reflection direction.

Function

Synopsis

result = Vector4:reflect(i, n)

Arguments

Vector4 i

Normalized incident vector.


Vector4 n

Normalized surface orientation vector.

Returns

Vector4 result

Reflection direction vector.

See Also