fix possible division by zero in ccdemos/common_ply.h
don't use DEFS variable in makefiles, just add it to CCFLAGS
compile float version of libs with -fsingle-precision-constant
ifndef $(ROOT)
ROOT=$(shell pwd)/..
endif
all: models
models: bunny happy dragon
bunny:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
tar xzf bunny.tar.gz
rm bunny.tar.gz
rm -rf bunny/data
mv bunny/reconstruction/* bunny
rmdir bunny/reconstruction
happy:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
tar xzf happy_recon.tar.gz
rm happy_recon.tar.gz
mv happy_recon happy
dragon:
wget ftp://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
tar xzf dragon_recon.tar.gz
rm dragon_recon.tar.gz
mv dragon_recon dragon
clean: ;
distclean: clean
rm -rf bunny
rm -rf happy
rm -rf dragon