instanced rendering working
refactoring c++