Hotfix Main.cpp and Weapon.cpp

This commit is contained in:
2016-05-17 10:42:06 +02:00
parent d7f74212f0
commit 5df4a1d8d0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ void configureOpenGL()
glEnable(GL_ALPHA_TEST);
glAlphaFunc(GL_GREATER, 0.01f);
Lighting
//Lighting
GLfloat mat_specular[] = { 1.0, 1.0, 1.0, 1.0 };
GLfloat mat_shininess[] = { 20.0 };
GLfloat light_position[] = { 30.0, 30.0, 30.0, 1.0 };
+1 -1
View File
@@ -20,7 +20,7 @@ void Weapon::draw_weapon(void)
if (weaponModel != nullptr)
{
glScalef(scale,scale,scale);
glRotatef(rotX, 1, 0, 0);
glRotatef(135, 1, 0, 0);
weaponModel->draw();
}
}