Template Function fang::math::rotateVector2D

Function Documentation

template<typename Unit>
Vector2D<Unit> fang::math::rotateVector2D(const Vector2D<Unit> &vector, const Radians &rotationAngle)

This algorithm has an accuracy of within 1e-14; however, rotating the vector back will produce accuracy to only within 1e-10