added vim syntax for comments, added sample comments to scene file

git-svn-id: svn://anubis/fart/branches/parser-comments@294 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
Josh Holtrop committed 2010-07-15 17:10:10 +00:00
1 parent a4e85f8eff
commit 01671e9486
2 files changed
+5

No files matched your search

+3
View File
@@ -24,6 +24,7 @@ scene
}
}
# define a reusable Die type
define shape Die subtract
{
union
@@ -134,6 +135,7 @@ scene
}
}
# Define an individual stack of dies
define shape DieStack union
{
translate <0, 0, 1.5> { scale 3 { shape Die } }
@@ -141,6 +143,7 @@ scene
translate <0, 0, 5.5> { rotate 90, <0, 1, 0> { shape Die } }
}
# Instantiate various DieStack objects
translate <-5, 0, 0> { shape DieStack }
translate <5, 0, 0> { rotate 90, <0, 0, 1> { shape DieStack } }
translate <0, 5, 0> { rotate 180, <0, 0, 1> { shape DieStack } }