Start on the rasteriser implementation

This commit is contained in:
2024-06-22 17:16:07 +01:00
parent 8fc3a2577a
commit fc79cb1906
3 changed files with 23 additions and 3 deletions

10
run
View File

@@ -3,8 +3,8 @@
USAGE="Usage: run (raytracer | rasteriser)"
if [[ $# == 0 ]]; then
echo $USAGE
exit 1
echo $USAGE
exit 1
fi
while [[ $# -gt 0 ]]; do
@@ -13,8 +13,12 @@ while [[ $# -gt 0 ]]; do
RENDERER="raytracer"
shift # past argument
;;
rasteriser)
RENDERER="rasteriser"
shift # past argument
;;
-*|--*|*)
echo $USAGE
echo $USAGE
exit 1
;;
esac