fix fill angle outside -90 | 90
This commit is contained in:
parent
9ee4f43f7c
commit
a4a3077821
3 changed files with 8 additions and 7 deletions
|
|
@ -655,6 +655,7 @@
|
|||
|
||||
// ensure angle is in the -90:90 range
|
||||
angle = angle % 180;
|
||||
while (angle < -90) angle += 180;
|
||||
while (angle > 90) angle -= 180;
|
||||
|
||||
// X,Y ray slope derived from angle
|
||||
|
|
|
|||
Loading…
Reference in a new issue