You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the comment on the subject proc, it should return the angle between two 2D vectors. It currently does not.
import vmath
assertangle(vec2(0.0, 1.0), vec2(1.0, 0.0)).toDegrees() ==135.0# should be 90assertangle(vec2(0.0, 1.0), vec2(-1.0, 0.0)).toDegrees() ==45.0# should be 90assertangle(vec2(0.0, 1.0), vec2(1.0, 0.0)).toDegrees() ==90.0# should be 180
The text was updated successfully, but these errors were encountered:
According to the comment on the subject proc, it should return the angle between two 2D vectors. It currently does not.
The text was updated successfully, but these errors were encountered: