Esempio n. 1
0
void CglicScene::resetAll(){
  while(transform.lastMatrices.size()>0)
    undoLast();
  for(int i = 0 ; i < listObject.size() ; i++)
    listObject[i]->resetAll();
  m_cam = glm::vec3(1,1,1);
  m_up = glm::normalize(glm::vec3(-1, 1., -1));
  view->zoom = 1.0f;
}
Esempio n. 2
0
void CglObject::resetAll() {
    while(transform.lastMatrices.size()>0)
        undoLast();
}