Localize quaternions

master
Lars Mueller 2022-05-12 11:50:21 +02:00
parent aac5a76242
commit af77ba9d69
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
assert(modlib.version >= 89, "character_anim requires at least version rolling-89 of modlib to function correctly")
local mod = modlib.mod
local namespace = mod.create_namespace()
namespace.quaternion = modlib.quaternion
namespace.conf = mod.configuration()
mod.extend"main"

View File

@ -1,3 +1,4 @@
local quaternion = modlib.quaternion
-- TODO deduplicate code: move to modlib (see ghosts mod)
local media_paths = modlib.minetest.media.paths
local models = setmetatable({}, {__index = function(self, filename)