All Classes |Grouped Classes |Index

Function rotate

Rotate a vector around another point.

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

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