2d rotation uses OdGeMatrix2d and 3d rotation uses OdGeQuaternion, based on the model type (3d or 2d). See Is3D().