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

@@ -121,7 +121,7 @@ function NETPLY.add(d)
place=1e99,
stat=false,
}
local a=math.random()*6.2832
local a=math.random()*MATH.tau
p.x,p.y,p.w,p.h=640+2600*math.cos(a),360+2600*math.sin(a),47,47
ins(PLYlist,p)