osg::Matrix mat = osg::Matrix::translate(osg::vec3(x,y,z));//偏移
mat *= osg::Matrix::rotate(osg::inDegrees(_rotateX),osg::X_AXIS);//绕x轴旋转_rotateX度
mat *= osg::Matrix::rotate(osg::inDegrees(_rotateY),osg::Y_AXIS);//绕Y轴旋转_rotateX度
mat *= osg::Matrix::rotate(osg::inDegrees(_rotateZ),osg::Z_AXIS);//绕Z轴旋转_rotateX度
osg::Matrix::rotate(角度,方位) 第二个参数用osg::X_AXIS / osg::Y_AXIS / osg::Z_AXIS;直接用值(0,0,1)结果不是自己要的