fenomas / noa

Experimental voxel game engine.
MIT License
616 stars 91 forks source link

Make mesh instance name in rendering #23

Closed terrac closed 7 years ago

terrac commented 7 years ago

On line 254 in rendering.js I noticed that it is passing a name mesh.createInstance(name), but that name doesn't seem to be set in the function it is being called from.

I don't know if that might have a negative side effect in some cases, but it doesn't look correct to me.

Thanks

fenomas commented 7 years ago

Great find, thanks!