How to Rotate around World Space Axis instead of Local?

Hi, I use setRotation3D to rotate 3d objects, but it only rotates around local axis.
How to rotate it around the world axis?

I tried to override the setRotation3D method, and maintain a rotation matrix (_myRotationMatrix) myself, like the following:
I create a translate matrix to translate the object back to OpenGL origin, and then create the rotation matrix to rotate it using the Vec passed in by the setRotation3D function, and then translate the object back to game world space.
I store the result of the above matrix multiplication in _myRotationMatrix.

When retrieving the _modelViewTransform, I set this: _modelViewTransform = _myRotationMatrix * _modelViewTransform. However, it doesn’t work.

Any ideas?

Any ideas?