Renamed USE_DEPRECATED_API to OSG_USE_DEPRECATED_API

This commit is contained in:
Vic-Min 2018-08-08 15:05:53 +03:00 committed by Robert Osfield
parent 9ab5aafd02
commit 15f2ae8d15
2 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ class OSG_EXPORT Matrixd
inline Vec4f operator* ( const Vec4f& 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 get(Quat& q) const { q = getRotate(); } /// deprecated, replace with getRotate()
#endif

View File

@ -328,7 +328,7 @@ class OSG_EXPORT Matrixf
inline Vec4f operator* ( const Vec4f& 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 get(Quat& q) const { q = getRotate(); }
#endif