Use pi constants instead of numbers

This commit is contained in:
Not-A-Normal-Robot
2023-09-21 19:44:55 +07:00
parent bc99af5b1b
commit b1dbc4fa87
10 changed files with 16 additions and 16 deletions

View File

@@ -135,7 +135,7 @@ function scene.draw()
if M.list then
GC.setColor(1,1,1,t*6)
GC.arc('line','open',0,0,rad+6,0,(M.sel/#M.list)*6.2832)
GC.arc('line','open',0,0,rad+6,0,(M.sel/#M.list)*MATH.tau)
end
GC.pop()
end