Commit 0fd3a7f9 authored by Anakin's avatar Anakin

next step: draw each model with it's own texture,

added new example mesh
parent b9903e59
......@@ -20,25 +20,7 @@ int main(int argc, char** argv)
else
scene = OpenGLController::getInstance();
goto openGL;
try {
Object obj("..\\Release\\Msh\\cubeTex.msh");
}
catch (std::invalid_argument e)
{
std::cout << e.what() << std::endl;
}
system("pause");
return 0;
openGL:
scene->loadMsh("..\\Release\\Msh\\multipleModels.msh");
scene->loadMsh("..\\Release\\Msh\\multiModTex.msh");
do {
scene->updateScene();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment