Makefile: added help and distclean target, plus small fixes
ccdemos/common_sdl.h:
print fps to window caption instead of console
update and key callbacks
fixed segfault when resizing window
pressing c now causes print out of camera coordinates
ccdemos/spheres_shadow.cc: controlling position of a light and focal length of camera
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