Skip to content

Commit

Permalink
modif main sur la class MyOpenGL
Browse files Browse the repository at this point in the history
  • Loading branch information
martin2994 committed May 18, 2017
1 parent 601068f commit 8e66b45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Tracking/_new/Camera.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ const GLfloat ZOOM = 45.0f;
* \class Camera
* \brief class for Camera management
*
* Class which initialize Camera and generate PVM matrix for 3D reconstruction
* Class which initialize Camera, generate PVM matrix for 3D reconstruct, and update Cameron on event
*
*/
class Camera {

public:
//Camera Attributes
glm::vec3 mPosition;
Expand Down Expand Up @@ -83,6 +84,11 @@ mPosition = glm::vec3(xpos, ypos, zpos);
updateCameraVectors();
};

/*!
* \brief class destructor
*/
~Camera(){};

/*!
* \brief Create view matrix
*
Expand Down
2 changes: 1 addition & 1 deletion Tracking/_new/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ int main(int argc, char ** argv)
#endif // OPENCV

#ifdef OPENGL
myOpenGL myApp;
MyOpenGL myApp;
myApp.InitWindow();
cout << "INIT WINDOW FINISHED" << endl;
myApp.InitVertex();
Expand Down

0 comments on commit 8e66b45

Please sign in to comment.