Commit 2299e00d by Kai Westerkamp

strom

parent d9dbfd77
...@@ -337,7 +337,7 @@ void mainRenderLoop() { ...@@ -337,7 +337,7 @@ void mainRenderLoop() {
// draw hud arrow // draw hud arrow
//glTranslatef(0.0f, 1.5f, 0.0f); //glTranslatef(0.0f, 1.5f, 0.0f);
float scale = 0.1f ; float scale = 0.1f ;
scale = 100.0f; scale = 1.0f;
glScalef(scale, scale, scale); glScalef(scale, scale, scale);
// glRotatef(-90, 0.0, 1.0, 0.0); // glRotatef(-90, 0.0, 1.0, 0.0);
......
...@@ -22,7 +22,7 @@ bool loadAssImp( ...@@ -22,7 +22,7 @@ bool loadAssImp(
{ {
Assimp::Importer importer; Assimp::Importer importer;
const aiScene* scene = importer.ReadFile(path, 0/*aiProcess_JoinIdenticalVertices | aiProcess_SortByPType*/); const aiScene* scene = importer.ReadFile(path, aiProcess_Triangulate /*aiProcess_JoinIdenticalVertices | aiProcess_SortByPType*/);
if( !scene) { if( !scene) {
fprintf( stderr, importer.GetErrorString()); fprintf( stderr, importer.GetErrorString());
getchar(); getchar();
......
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