filled out Scene::processLight(), added color keyword to light specification
git-svn-id: svn://anubis/fart/trunk@171 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
0ea6e96e0a
commit
65c447f85a
3 files changed
+33
-1
No files matched your search
@@ -198,6 +198,9 @@ light_item: POSITION vector {
|
||||
| SPECULAR vector {
|
||||
$$ = new SpecularNode($2->getVector());
|
||||
}
|
||||
| COLOR vector {
|
||||
$$ = new ColorNode($2->getVector());
|
||||
}
|
||||
;
|
||||
|
||||
material: MATERIAL LCURLY material_items RCURLY {
|
||||
|
||||
Reference in new issue
Block a user