All Classes |Grouped Classes |Index

Function rotate

Rotate a vector around another point.

	CL_Vec2<Type>& CL_Vec2< Type >::rotate(
		const CL_Vec2 < Type > & hotspot,
		const CL_Angle & angle);

	static CL_Vec2<Type> CL_Vec2< Type >::rotate(
		const CL_Vec2 < Type > & vector,
		const CL_Vec2 < Type > & hotspot,
		const CL_Angle & angle);