Another attempt to create a simple 3D game engine