diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-12-21 04:25:30 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-12-21 04:25:30 -0500 |
commit | 8424804b1feaff5121060ed5ae4a321c47a76c34 (patch) | |
tree | 53d0afab5f43b1cce076f2b3035a13819b25bcbe /tests/dimension/demo.sh | |
parent | 494079ee46d67ae7ef6504734f7400b543c6d848 (diff) | |
download | dimension-8424804b1feaff5121060ed5ae4a321c47a76c34.tar.xz |
Differentiate between colors and vectors in the AST.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-x | tests/dimension/demo.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 8a210d4..c49e0ca 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -31,10 +31,10 @@ demo_exp=$(echo -n \ (rotate (vector (integer 0) (integer 53) (integer 0) (integer 0) (integer 0)))) (background - (vector (integer 0) (float 0.1) (float 0.2) (float 0.1) (integer 0))) + (color (integer 0) (float 0.1) (float 0.2) (float 0.1) (integer 0))) (light_source (vector (integer -15) (integer 20) (integer 10) (integer 0) (integer 0)) - (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))) + (color (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))) (box (vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0)) (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0)) @@ -42,15 +42,15 @@ demo_exp=$(echo -n \ (rotate (vector (integer 45) (integer 0) (integer 0) (integer 0) (integer 0))) (texture - (pigment (vector (integer 0) (integer 0) (integer 1) - (float 0.25) (float 0.25)))))) + (pigment (color (integer 0) (integer 0) (integer 1) + (float 0.25) (float 0.25)))))) (sphere (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0)) (float 1.25) (object-modifiers (texture - (pigment (vector (integer 0) (integer 1) (integer 0) - (integer 0) (integer 0)))))))' \ + (pigment (color (integer 0) (integer 1) (integer 0) + (integer 0) (integer 0)))))))' \ | tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g') if [ "$demo" != "$demo_exp" ]; then |