resconstruct by glm,glfw3,glsl to replace Eigen, glut
w - camera move forward. s - camera move backward
a - camera move left. d - camera move right
q - camera move up. e - camera move down
← and ←rotate around axis v
↑, ↓ plotCamera not set.
/ - show world axes.
r - teapot rotation.
m - polygon mode.
- Drift
There's no process lock. If we alter the _view_matrix in scene1 expecially after rotation, the _view_matrix will change a litte. Thus, we need another GLCamera to manage top_view GLCamera's view matrix. It's also why remove the
stack
.