All Classes |Grouped Classes |Index

Function rotate

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

	CL_Vec3<Type>& CL_Vec3< Type >::rotate(
		const CL_Angle & angle,
		const CL_Vec3 < Type > & axis);

	static CL_Vec3<Type> CL_Vec3< Type >::rotate(
		const CL_Vec3 < Type > & vector,
		const CL_Angle & angle,
		const CL_Vec3 < Type > & axis);