Commit e334b6e3 authored by Jan Möbius's avatar Jan Möbius

Additional fly to

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10443 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 809425f4
......@@ -1014,11 +1014,17 @@ void get_all_objects( std::vector < BaseObjectData*>& _objects ) {
}
/// Fly to point and viewing direction (animated).
void flyTo (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time) {
void flyTo (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time) {
examiner_widgets_[activeExaminer_]->flyTo(_position,_center,_time);
}
/// Fly to point (animated).
void flyTo (const ACG::Vec3d &_center, bool _back) {
examiner_widgets_[activeExaminer_]->flyTo(_center,_back);
}
// ===============================================================================
// Getting data from objects and casting between them
// ===============================================================================
......
......@@ -394,6 +394,14 @@ void setFixedView(int _mode, int _viewer = ACTIVE_VIEWER );
DLLEXPORT
void flyTo (const ACG::Vec3d &_position, const ACG::Vec3d &_center, double _time=1000.0);
/** Fly to point (animated).
* @param _center New point to look at
* @param _back ??
*/
DLLEXPORT
void flyTo (const ACG::Vec3d &_center, bool _back);
/** @} */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment