One final note

This commit is contained in:
Pyrex 2022-12-19 23:29:22 -08:00
parent 6821d6cb53
commit b0d356aeee

View File

@ -1115,6 +1115,8 @@ function rope:_drag1(n1,ax1_new,ay1_new)
-- (2) ignore cases where the angle is not between the two lines -- (2) ignore cases where the angle is not between the two lines
-- (3) ignore cases where the created point is further from the original point -- (3) ignore cases where the created point is further from the original point
-- than the _intended_ one would be -- than the _intended_ one would be
-- Note that if x or y is held constant, this can be implemented
-- with a sort on x or y. For our game this is true.
-- --
_in_box(anchor.ax,anchor.ay,ax0,ay0,ax1_old,ay1_old) and _in_box(anchor.ax,anchor.ay,ax0,ay0,ax1_old,ay1_old) and
_which_side(anchor.ax,anchor.ay,ax0,ay0,ax1_old,ay1_old) != _which_side(anchor.ax,anchor.ay,ax0,ay0,ax1_old,ay1_old) !=