Added some performance measuring tools.
Speeded up collision detection significantly.
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
|
||||
HDRS = fboSupport.h shaderSupport.h GPU_physics.h
|
||||
OBJS = GPU_physics_demo.o fboSupport.o shaderSupport.o
|
||||
HDRS = fboSupport.h shaderSupport.h GPU_physics.h clock.h
|
||||
OBJS = GPU_physics_demo.o fboSupport.o shaderSupport.o clock.o
|
||||
|
||||
all: ${OBJS}
|
||||
g++ -o GPU_physics_demo ${OBJS} -lglut -lGLEW -lGL
|
||||
|
||||
clock.o : clock.cpp ${HDRS}
|
||||
g++ -c clock.cpp
|
||||
|
||||
shaderSupport.o : shaderSupport.cpp ${HDRS}
|
||||
g++ -c shaderSupport.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user