Build fix
This commit is contained in:
@@ -407,8 +407,7 @@ void testQuat(const osg::Vec3d& quat_scale)
|
||||
0.0, 0.0, 0.5, 0.0,
|
||||
1.0, 1.0, 1.0, 1.0);
|
||||
|
||||
osg::Quat quat;
|
||||
matrix.get(quat);
|
||||
osg::Quat quat = matrix.getRotate();
|
||||
|
||||
osg::notify(osg::NOTICE)<<"Matrix = "<<matrix<<"rotation = "<<quat<<", expected quat = (0,0,0,1)"<<std::endl;
|
||||
}
|
||||
|
||||
@@ -322,8 +322,8 @@ class OSG_EXPORT Matrixd
|
||||
inline Vec4d operator* ( const Vec4d& v ) const;
|
||||
|
||||
#ifdef USE_DEPRECATED_API
|
||||
inline void set(const Quat& q) { makeRotate(q); }
|
||||
inline void get(Quat& q) const { q = getRotate(); }
|
||||
inline void set(const Quat& q) { makeRotate(q); } /// deprecated, replace with makeRotate(q)
|
||||
inline void get(Quat& q) const { q = getRotate(); } /// deprecated, replace with getRotate()
|
||||
#endif
|
||||
|
||||
void setRotate(const Quat& q);
|
||||
|
||||
Reference in New Issue
Block a user