3dtrial/tinyrender1_perspective/run.sh

12 lines
191 B
Bash
Raw Permalink Normal View History

2024-07-24 22:42:44 +00:00
#!/bin/sh
if [ $# -ne 1 ]; then
echo "You must pass the basename for the .prof and .ppm"
exit 1
fi
echo "Building"
go build
echo "Running"
./tinyrender1 "-cpuprofile=$1.prof" >"$1.ppm"