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
Usually you multiply rotation matrix from left side (R * X), thus in your case you should transpose rotation matrix to get same numbers.
This is what you should have after multiplication:
x′=xcos(θ)−ysin(θ)
y′=xsin(θ)+ycos(θ)
Hi, sry for bothering with this small issue, but I've found that your implementation of the rotation could be improved:
Your version:
Better version:
This is what you should have after multiplication:
x′=xcos(θ)−ysin(θ)
y′=xsin(θ)+ycos(θ)
The text was updated successfully, but these errors were encountered: