summaryrefslogtreecommitdiffstats
path: root/tests/dimension/directives.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-03-08 23:21:31 -0500
committerTavian Barnes <tavianator@gmail.com>2010-03-08 23:21:31 -0500
commitdf0f06adcddb9c40b7cfe736a1a106a874f3513e (patch)
tree5c5a83749e6d348e4086fba65308a504bf89c08c /tests/dimension/directives.sh
parent533a684f0ec4d9afa3940ba5c4f516711015ed00 (diff)
downloaddimension-df0f06adcddb9c40b7cfe736a1a106a874f3513e.tar.xz
Don't treat colors and vectors as different types.
This allows things like 0.5*White, where White was #defined to be a color. POV-Ray's colors.inc almost parses now.
Diffstat (limited to 'tests/dimension/directives.sh')
-rwxr-xr-xtests/dimension/directives.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/dimension/directives.sh b/tests/dimension/directives.sh
index 5ecf574..74bde02 100755
--- a/tests/dimension/directives.sh
+++ b/tests/dimension/directives.sh
@@ -55,14 +55,14 @@ $(echo -n \
(vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0))
(integer 1)
(object-modifiers
- (pigment (color (integer 1) (integer 1) (integer 1)
- (integer 0) (integer 0)))))
+ (pigment (vector (integer 1) (integer 1) (integer 1)
+ (integer 0) (integer 0)))))
(sphere
(vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0))
(integer 1)
(object-modifiers
- (pigment (color (integer 1) (integer 1) (integer 1)
- (integer 0) (integer 0))))))' \
+ (pigment (vector (integer 1) (integer 1) (integer 1)
+ (integer 0) (integer 0))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')"
if [ "$directives" != "$directives_exp" ]; then