Rewrite rope #11
@ -1115,6 +1115,8 @@ function rope:_drag1(n1,ax1_new,ay1_new)
|
||||
-- (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
|
||||
-- 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
|
||||
_which_side(anchor.ax,anchor.ay,ax0,ay0,ax1_old,ay1_old) !=
|
||||
|
Loading…
Reference in New Issue
Block a user