Added some performance measuring tools.

Speeded up collision detection significantly.
This commit is contained in:
sjbaker
2006-10-01 16:36:57 +00:00
parent 9ebc440ee5
commit a7eca49065
4 changed files with 267 additions and 71 deletions

View File

@@ -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