Renders filled polygons using fast pixel blitting and odd-parity polygon scanline filling.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
export PROJECT_NAME="PolygonFill"
|
|
|
|
export PROJECT_DIR="src/sig"
|
|
|
|
export MAIN_CLASS="sig.${PROJECT_NAME}"
|
|
|
|
export OUT_DIR="bin"
|
|
|
|
|
|
|
|
|
|
|
|
if [ -z "$1" ]
|
|
|
|
then
|
|
|
|
echo ""
|
|
|
|
echo " Usage: ./sig <command> {args}"
|
|
|
|
echo ""
|
|
|
|
printf "====\tCurrent Configuration"
|
|
|
|
printf "\t====================="
|
|
|
|
printf "\n\tPROJECT_NAME\t${PROJECT_NAME}"
|
|
|
|
printf "\n\tPROJECT_DIR\t${PROJECT_DIR}"
|
|
|
|
printf "\n\tMAIN_CLASS\t${MAIN_CLASS}"
|
|
|
|
printf "\n\tOUT_DIR\t\t${OUT_DIR}"
|
|
|
|
printf "\n====================================================="
|
|
|
|
echo ""
|
|
|
|
echo ""
|
|
|
|
echo " Command List:"
|
|
|
|
ls -1 ./scripts | sed -e 's/\.sh$//' | sed -e 's/^/ /'
|
|
|
|
echo ""
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
|
|
|
./scripts/$1.sh "${*:2}"
|