tavli

diff src/object.cc @ 2:893192aea099

board keeps objects instead of raw meshes
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 22 Jun 2015 05:15:39 +0300
parents 3fcd7b4d631f
children 94aff2ff1934
line diff
     1.1 --- a/src/object.cc	Mon Jun 22 05:05:37 2015 +0300
     1.2 +++ b/src/object.cc	Mon Jun 22 05:15:39 2015 +0300
     1.3 @@ -37,7 +37,7 @@
     1.4  
     1.5  	glMatrixMode(GL_MODELVIEW);
     1.6  	glPushMatrix();
     1.7 -	glLoadTransposeMatrixf(matrix[0]);
     1.8 +	glMultTransposeMatrixf(matrix[0]);
     1.9  
    1.10  	mesh->draw();
    1.11