changeset 30:dbe78e801c2c

Fixed up rotation, and placement of the verteces
author Josef "Jeff" Sipek <jeffpc@optonline.net>
date Sat, 03 Dec 2005 19:00:34 -0500
parents d12f9450fa8f
children 0aad1257afce
files run.sh
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/run.sh	Sat Dec 03 04:15:05 2005 -0500
+++ b/run.sh	Sat Dec 03 19:00:34 2005 -0500
@@ -3,16 +3,16 @@
 
 PIPE="/tmp/3de.in"
 
-PT1="1 0 0 -0.5 -0.5 0.5"
-PT2="0 1 0 -0.5 0.5 0.5"
-PT3="0 0 1 0.5 0.5 0.5"
+PT1="1 0 0 -0.5 -0.5 -0.75"
+PT2="0 1 0 -0.5 0.5 -0.75"
+PT3="0 0 1 0.5 0.5 -0.75"
 
 INC="0.01745"
 OMEGA="0"
 
 for x in `seq 3600`; do
 	echo "CLEAR" > $PIPE
-	echo "POLY " `echo -e "$OMEGA 0 0\n$PT1\n$PT2\n$PT3" | ./rotate | ./transform` > $PIPE
+	echo "POLY " `echo -e "0 0 $OMEGA\n$PT1\n$PT2\n$PT3" | ./rotate | ./transform` > $PIPE
 	echo "FLUSH" > $PIPE
 	OMEGA=`echo "$OMEGA+$INC" | bc`
 	sleep 0.01