整理代码,略微提升部分小程序的性能

This commit is contained in:
MrZ626
2021-09-21 00:27:27 +08:00
parent 1d30623222
commit 6f715a663a
17 changed files with 39 additions and 40 deletions

View File

@@ -1,10 +1,7 @@
local gc=love.graphics
local kb=love.keyboard
local tc=love.touch
local gc,kb,tc=love.graphics,love.keyboard,love.touch
local rnd,int,abs=math.random,math.floor,math.abs
local max,min=math.max,math.min
local setFont=setFont
local setFont,mStr=FONT.get,GC.mStr
local cubeColor={
{.88,.75,.00},