Merge pull request #589 from Vic-Min/master
Renamed USE_DEPRECATED_API to OSG_USE_DEPRECATED_API
This commit is contained in:
commit
08ec85e3a9
@ -327,7 +327,7 @@ class OSG_EXPORT Matrixd
|
|||||||
inline Vec4f operator* ( const Vec4f& v ) const;
|
inline Vec4f operator* ( const Vec4f& v ) const;
|
||||||
inline Vec4d operator* ( const Vec4d& v ) const;
|
inline Vec4d operator* ( const Vec4d& v ) const;
|
||||||
|
|
||||||
#ifdef USE_DEPRECATED_API
|
#ifdef OSG_USE_DEPRECATED_API
|
||||||
inline void set(const Quat& q) { makeRotate(q); } /// deprecated, replace with makeRotate(q)
|
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()
|
inline void get(Quat& q) const { q = getRotate(); } /// deprecated, replace with getRotate()
|
||||||
#endif
|
#endif
|
||||||
|
@ -328,7 +328,7 @@ class OSG_EXPORT Matrixf
|
|||||||
inline Vec4f operator* ( const Vec4f& v ) const;
|
inline Vec4f operator* ( const Vec4f& v ) const;
|
||||||
inline Vec4d operator* ( const Vec4d& v ) const;
|
inline Vec4d operator* ( const Vec4d& v ) const;
|
||||||
|
|
||||||
#ifdef USE_DEPRECATED_API
|
#ifdef OSG_USE_DEPRECATED_API
|
||||||
inline void set(const Quat& q) { makeRotate(q); }
|
inline void set(const Quat& q) { makeRotate(q); }
|
||||||
inline void get(Quat& q) const { q = getRotate(); }
|
inline void get(Quat& q) const { q = getRotate(); }
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user