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.

15 lines
406 B

PROGRAM_NAME="PolygonFill"
MAIN_CLASS="sig.PolygonFill"
rm -Rf bin/*
javac -Xlint:unchecked -cp src -d bin src/sig/${PROGRAM_NAME}.java
printf "\n\n\nGenerating Manifest...\n\n"
touch manifest
echo "Main-Class: ${MAIN_CLASS}" >> manifest
printf "\n\n\nCreating Jar...\n\n"
cd bin
jar cfm ${PROGRAM_NAME}.jar ../manifest sig
printf "\n\n\nRunning Program...\n\n"
java -jar ${PROGRAM_NAME}.jar
cd ..
./clean