Group imports
This commit is contained in:
parent
8d29652ce4
commit
b31f52b179
17
script.lua
17
script.lua
@ -17,6 +17,13 @@ TEXTURE_HEIGHT = 256
|
|||||||
util = require("nulllib.util")
|
util = require("nulllib.util")
|
||||||
logging = require("nulllib.logging")
|
logging = require("nulllib.logging")
|
||||||
timers=require("nulllib.timers")
|
timers=require("nulllib.timers")
|
||||||
|
nmath=require("nulllib.math")
|
||||||
|
PartsManager=require("nulllib.PartsManager")
|
||||||
|
UVManager=require("nulllib.UVManager")
|
||||||
|
|
||||||
|
-- math functions
|
||||||
|
lerp=math.lerp -- this is implemented in figura now
|
||||||
|
wave=nmath.wave
|
||||||
|
|
||||||
-- syncState {{{
|
-- syncState {{{
|
||||||
do
|
do
|
||||||
@ -61,11 +68,6 @@ function ping.syncState(tbl)
|
|||||||
end
|
end
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- math functions
|
|
||||||
nmath=require("nulllib.math")
|
|
||||||
lerp=math.lerp -- this is implemented in figura now
|
|
||||||
wave=nmath.wave
|
|
||||||
|
|
||||||
-- Master and local state variables -- {{{
|
-- Master and local state variables -- {{{
|
||||||
-- Local State (these are copied by pings at runtime) --
|
-- Local State (these are copied by pings at runtime) --
|
||||||
local_state={}
|
local_state={}
|
||||||
@ -136,11 +138,6 @@ end
|
|||||||
|
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
PartsManager=require("nulllib.PartsManager")
|
|
||||||
|
|
||||||
-- TODO: accept model part for built-in UV management, automatic texture size
|
|
||||||
UVManager=require("nulllib.UVManager")
|
|
||||||
|
|
||||||
-- Parts, groups, other constants -- {{{
|
-- Parts, groups, other constants -- {{{
|
||||||
HEAD=model.Head.Head
|
HEAD=model.Head.Head
|
||||||
FACE=model.Head.Face
|
FACE=model.Head.Face
|
||||||
|
Loading…
x
Reference in New Issue
Block a user