Java3d shape with Antlr
- by Eldeus
Well how to evaluate a very simple antlr grammar that does only this.
Box(1,2,4)
Cylinder(1,2) and builds java3d shapes,
(given I have already built a canvas for java3d and have the code for creating each element in java,
protected static BranchGroup addBox1(Float a, Float b, Float C){
// create branch for display
TransformGroup…