All Classes |Grouped Classes |Index

Function rotate3

Rotate a vector around an axis. Same as glRotate[f|d](angle, a);.

	CL_Vec4<Type>& CL_Vec4< Type >::rotate3(
		const CL_Angle & angle,
		const CL_Vec4 < Type > & axis);

	static CL_Vec4<Type> CL_Vec4< Type >::rotate3(
		const CL_Vec4 < Type > & vector,
		const CL_Angle & angle,
		const CL_Vec4 < Type > & axis);

Detailed description:

Not taking into account the w ordinateThe w ordinate is not modified