enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

Model Loading is too convoluted #69

Open enginmanap opened 5 years ago

enginmanap commented 5 years ago

Models are loaded by WorldLoader even though all other Game object types are de/serialized by their respective classes. This is done because Model might create an Actor too, but at the current state, it requires just too much indirection. Declaring it a friend would solve it, but it is architecturally not preferred.