3D game engine written in C++