cleaned Texture interface
new C++ demo: textures
slightly adjusted SAH for kd-tree
slightly optimized kd-tree building -- moved termination cond. so it's tested before recursion
minor sphere intersection optimization
ifndef $(ROOT)
ROOT=$(shell pwd)/..
endif
all: ModulePath reqs models
ModulePath:
echo "$(ROOT)/bin/python-module" > ModulePath
reqs:
$(MAKE) -C .. libs-float python-module
models:
$(MAKE) -C .. models
clean: ;
distclean: clean
rm -f *.png
rm -f *.pyc
rm -f kdtree.obj