mirror of
https://github.com/dschmenk/PLASMA.git
synced 2026-04-27 03:18:02 +00:00
Add rounding to sin/cos calc to improve accuracy
This commit is contained in:
1 parent
15488e61c7
commit
af2e3143f6
2 files changed
+20
-13
No files matched your search
@@ -9,7 +9,7 @@ SRC" TURTLE.4TH"
|
||||
: SHOW
|
||||
0 HGRMODE HGRDRAWBUF TILEDRAWBUF DROP
|
||||
280 192 INITTURTLE
|
||||
1 HGRCOLOR
|
||||
3 HGRCOLOR
|
||||
;
|
||||
|
||||
: SQUARE
|
||||
@@ -20,7 +20,7 @@ SRC" TURTLE.4TH"
|
||||
;
|
||||
|
||||
: SPIN
|
||||
360 0 DO
|
||||
361 0 DO
|
||||
50 SQUARE
|
||||
I TURNTO
|
||||
10 +LOOP
|
||||
@@ -30,3 +30,5 @@ SRC" TURTLE.4TH"
|
||||
SHOW
|
||||
SPIN
|
||||
;
|
||||
|
||||
SHOW SPIN
|
||||
Reference in new issue
Block a user