examples/labirinto/openglwindow.cpp
void OpenGLWindow::loadGround() {
  m_ground.terminateGL();

  m_ground.loadDiffuseTexture(getAssetsPath() + "maps/cement.jpg");
  m_ground.loadObj(getAssetsPath() + "chamferbox.obj");
  m_ground.setupVAO(m_programs.at(m_currentProgramIndex));
}
// Load ground and define it own texture
Load ground and define it own texture
Load ground and define it own texture
void OpenGLWindow::loadGround() {
  m_ground.terminateGL();
  m_ground.loadDiffuseTexture(getAssetsPath() + "maps/cement.jpg");
  m_ground.loadObj(getAssetsPath() + "chamferbox.obj");
  m_ground.setupVAO(m_programs.at(m_currentProgramIndex));
}
void OpenGLWindow :: loadGround ( ) { m_ground . terminateGL ( ) ; m_ground . loadDiffuseTexture ( getAssetsPath ( ) + " " ) ; m_ground . loadObj ( getAssetsPath ( ) + " " ) ; m_ground . setupVAO ( m_programs . at ( m_currentProgramIndex ) ) ; }
Load ground and define it own texture
Load ground and define it own texture