a simple C++ OOP 3D physics engine