Closed nico-abram closed 5 years ago
Is there any reason https://github.com/groverburger/lovecraft/blob/master/engine.lua#L45-L56 performs a translation on the actual mesh, instead of setting a transform matrix on the mesh?
so it doesn't get overwritten by the actual translate function. by using the coords argument when creating a model, its basically like giving the model a new origin point.
Is there any reason https://github.com/groverburger/lovecraft/blob/master/engine.lua#L45-L56 performs a translation on the actual mesh, instead of setting a transform matrix on the mesh?