groverburger / lovecraft

minecraft clone written with love <3
MIT License
103 stars 12 forks source link

Non transform translation? #7

Closed nico-abram closed 5 years ago

nico-abram commented 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?

groverburger commented 5 years ago

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.