Ignore:
Timestamp:
09/06/16 17:49:32 (5 years ago)
Author:
Sanahuja Guillaume
Message:

simu cameras

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/VisualizationCamera.h

    r69 r70  
    2121#include <position2d.h>
    2222#include <Vector3D.h>
     23#include <string>
    2324
    2425namespace irr {
     
    3334class VisualizationCamera : private irr::scene::ISceneNodeAnimator {
    3435public:
    35   VisualizationCamera(float rotateSpeed = -500.0f, float zoomSpeed = 4.0f);
     36  VisualizationCamera(std::string name);
    3637  ~VisualizationCamera();
    3738
     
    4041  virtual bool OnEvent(const irr::SEvent& event);
    4142  irr::scene::ICameraSceneNode *getCameraSceneNode(void);
     43  std::string getName(void);
    4244
    4345private:
     
    4850  irr::scene::ICameraSceneNode *camera;
    4951  irr::core::position2df MousePos;
    50   float rotateSpeed;
    51   float zoomSpeed;
    5252  float currentZoom;
     53  std::string name;
    5354};
    5455
Note: See TracChangeset for help on using the changeset viewer.