Reflect


Reflect vector around normal.

template<class TYPE>
void Reflect(TVec2<TYPE> &v, const TVec2<TYPE> &normal);
template<class TYPE>
void Reflect(TVec3<TYPE> &v, const TVec3<TYPE> &normal);
template<class TYPE>
void Reflect(TVec4<TYPE> &v, const TVec4<TYPE> &normal);
Namespace: ntl
Include: NTL/Core/Vec2.h (For TVec2 arguments)
NTL/Core/Vec3.h (For TVec3 arguments)
NTL/Core/Vec4.h (For TVec4 arguments)