fixed Makefile (had forgotten glut debugging stuff)
authorEleni Maria Stea <estea@igalia.com>
Tue, 1 Jan 2019 17:24:05 +0000 (19:24 +0200)
committerEleni Maria Stea <estea@igalia.com>
Tue, 1 Jan 2019 17:24:05 +0000 (19:24 +0200)
Makefile
src/main.cc

index 4ca72b2..8b94f2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,11 +6,10 @@ bin = hair
 
 dbg = -g
 opt = -O0
-inc = -Isrc -Isrc/shaders -Isrc/math -I/home/eleni/igalia/install/include
-
+inc = -Isrc -Isrc/shaders -Isrc/math
 CXX = g++
 CXXFLAGS = -pedantic -Wall $(dbg) $(opt) $(inc)
-LDFLAGS = -lGL -lGLU -lglut -lGLEW -limago -lassimp -lgmath -L/home/eleni/igalia/install/lib/libglut.so
+LDFLAGS = -lGL -lGLU -lglut -lGLEW -limago -lassimp -lgmath
 
 $(bin): $(obj)
        $(CXX) -o $@ $(obj) $(LDFLAGS)
index ef26c3c..307f647 100644 (file)
@@ -138,6 +138,7 @@ static void display()
                meshes[i]->draw();
        }
 
+       hair.set_transform(head_xform);
        hair.draw();
 
        glutSwapBuffers();