memory optimization for octree
fixed some visual artifacts in textures C++ demo and set ambient occlussion for rendering (-r)
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