Teeworlds3d using c++