// %flair:license{ // This file is part of the Flair framework distributed under the // CECILL-C License, Version 1.0. // %flair:license} // created: 2016/09/01 // filename: FixedCamera.h // // author: Guillaume Sanahuja // Copyright Heudiasyc UMR UTC/CNRS 7253 // // version: $Id: $ // // purpose: cclass for a fixed camera in the gui // /*********************************************************************/ #ifndef FIXEDCAMERA_H #define FIXEDCAMERA_H #include "VisualizationCamera.h" #include namespace flair { namespace simulator { class FixedCamera : public VisualizationCamera { public: FixedCamera(core::Vector3D position,float rotateSpeed = -500.0f, float zoomSpeed = 4.0f); ~FixedCamera(); void animateNode(irr::scene::ISceneNode *node, irr::u32 timeMs); private: irr::core::position2df RotateStart; bool Rotating; float RotY, RotZ; }; } // end namespace simulator } // end namespace flair #endif // FIXEDCAMERA_H