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
draw_rectangle_filled rotates clockwise while draw_rectangle_outline rotates counter-clockwise with the same angle values. This might be related to how rotate_points works.
This needs more investigation since a lot of things use rotate_point in arcde.
EDIT: This is because the outline version calls rotate_points while shapes are rotated in shader
EDIT: The conclusion is that rotations have historically been counter clockwise in arcade. In 2.4 some shapes started to rotate in the other direction due to shader rewrite and optimizations.
We have two variants of rotation matrices in shaders:
draw_rectangle_filled
rotates clockwise whiledraw_rectangle_outline
rotates counter-clockwise with the same angle values. This might be related to howrotate_points
works.This needs more investigation since a lot of things use
rotate_point
in arcde.EDIT: This is because the outline version calls
rotate_points
while shapes are rotated in shaderEDIT: The conclusion is that rotations have historically been counter clockwise in arcade. In 2.4 some shapes started to rotate in the other direction due to shader rewrite and optimizations.
We have two variants of rotation matrices in shaders:
.. and
rotate_point
is counter clockwise by default.The text was updated successfully, but these errors were encountered: