Changeset 144 in flair-src for trunk/lib/FlairCore/src
- Timestamp:
- Feb 27, 2017, 10:59:54 AM (8 years ago)
- Location:
- trunk/lib/FlairCore/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/OneAxisRotation.cpp
r15 r144 56 56 } 57 57 58 float OneAxisRotation::GetAngle() const { 59 return pimpl_->GetAngle(); 60 } 61 62 int OneAxisRotation::GetAxis() const { 63 return pimpl_->GetAxis(); 64 } 65 58 66 } // end namespace core 59 67 } // end namespace flair -
trunk/lib/FlairCore/src/OneAxisRotation.h
r15 r144 82 82 void ComputeRotation(core::RotationMatrix &matrix) const; 83 83 84 float GetAngle() const; 85 int GetAxis() const; 86 84 87 private: 85 88 const class OneAxisRotation_impl *pimpl_; -
trunk/lib/FlairCore/src/OneAxisRotation_impl.cpp
r103 r144 74 74 quat.ToEuler(euler); 75 75 } 76 77 int OneAxisRotation_impl::GetAxis() const { 78 return rot_axe->CurrentIndex(); 79 } 80 81 float OneAxisRotation_impl::GetAngle() const { 82 return rot_value->Value(); 83 } 84 -
trunk/lib/FlairCore/src/unexported/OneAxisRotation_impl.h
r15 r144 40 40 void ComputeRotation(flair::core::RotationMatrix &matrix) const; 41 41 void ComputeRotation(flair::core::Euler &euler) const; 42 42 int GetAxis() const; 43 float GetAngle() const; 44 43 45 private: 44 46 flair::gui::ComboBox *rot_axe;
Note:
See TracChangeset
for help on using the changeset viewer.