Function tap::algorithms::rotateVector

Function Documentation

void tap::algorithms::rotateVector(float *x, float *y, float radians)

Performs a rotation matrix on the given x and y components of a vector.

Parameters:
  • x – the x component of the vector to be rotated.

  • y – the y component of the vector to be rotated.

  • angle – the angle by which to rotate the vector <x, y>, in radians.

Return values:

none.