A 3d Game Engine