creating polygons for extrude objects, ngon takes radius parameter
git-svn-id: svn://anubis/fart/trunk@270 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
7d844667c3
commit
4c5444f053
4 files changed
+70
-4
No files matched your search
+4
-1
@@ -307,7 +307,10 @@ number: DEC_NUMBER { $$ = $1; }
|
||||
| REAL_NUMBER { $$ = $1; }
|
||||
;
|
||||
|
||||
ngon: NGON DEC_NUMBER { $$ = new NGonNode($2->getInteger()); }
|
||||
ngon: NGON DEC_NUMBER COMMA number {
|
||||
$$ = new NGonNode($2->getInteger());
|
||||
$$->addChild(new RadiusNode($4->getNumber()));
|
||||
}
|
||||
;
|
||||
|
||||
offset: OFFSET number {
|
||||
|
||||
Reference in new issue
Block a user