Skip to content

Instantly share code, notes, and snippets.

View lpberg's full-sized avatar

Leif Berg lpberg

View GitHub Profile
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