全局变量spinCenters改名SCS

This commit is contained in:
MrZ626
2021-03-01 21:06:04 +08:00
parent e71bf616f2
commit 1ba10e18e8
9 changed files with 13 additions and 14 deletions

View File

@@ -13,7 +13,7 @@ function scene.draw()
gc.rotate(SETTING.face[N]*1.57+sin(t*3-N*.5)*.08)
local color=SETTING.skin[N]
local B=BLOCKS[N][0]
local x,y=-45-spinCenters[N][0][2]*30,15+spinCenters[N][0][1]*30
local x,y=-45-SCS[N][0][2]*30,15+SCS[N][0][1]*30
local col=#B[1]
for i=1,#B do for j=1,col do
if B[i][j]then