lib/gamnit flat: rotation follows the right hand rule on the Z axis