Closed carlsonp closed 11 years ago
inv = osg.Matrixd() inv:invert(RelativeTo.World:getMatrix()) print(inv:getTrans()) -- -0 -0 -1.75858 print(inv * Vec(1,0,0)) -- 1 0 0 print(inv:preMult(Vec(0, 0, 0))) -- 0 0 -1.75858
Should be fixed, I hope, with the new stuff.