RobLoach / raylib-cpp

C++ Object Oriented Wrapper for raylib
https://robloach.github.io/raylib-cpp/
zlib License
669 stars 87 forks source link

Vector2Rotate(Vector2 v, float angle) takes a radian, not a degree #271

Closed Ataraxia-Mechanica closed 10 months ago

Ataraxia-Mechanica commented 10 months ago

image image cosf(float angle) and sinf(float angle) both takes a radian as parameter, not degrees.

RobLoach commented 10 months ago

Good catch, thanks. Would you mind sending a pull request for it?

Ataraxia-Mechanica commented 10 months ago

Oops, this is already fixed in merge request #268, I was using version 5.0.0 and it was before the fix.

RobLoach commented 10 months ago

Sweet! I'll go through another round of tests and make a release