This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local getRoomToWorld = function() | |
return RelativeTo.World:getInverseMatrix() | |
end | |
--- This is a HIDEOUS HACK @todo | |
local matrixMult = function(a, b) | |
local val = osg.Matrixd(a) | |
val:preMult(b) | |
return val |