Here are a couple of minor but very useful updates contributed by the Papervision user community.
The first is from Paul Neave; thanks to him we now have a new cylinder primitive. He’s added two parameters to the constructor that specify whether you have a top and bottom face, in other words, you can now make tubes!
This is pretty backwards compatible, but note that if you’ve been using the initObject parameter to adjust properties, you’ll get an error as this parameter has now been shifted back a couple of spaces. 🙂
public function Cylinder( material:MaterialObject3D=null, radius:Number=100, height:Number=100, segmentsW:int=8, segmentsH:int=6, topRadius:Number=-1, topFace:Boolean=true, bottomFace:Boolean=true, initObject:Object=null );
And also thanks to fellow Brightonian Jonathan Pace from Unwrong, who’s implemented destroy functions in :
This is a fantastic example of the user community making a real contribution to this open source project, and a real testament to the quality and enthusiasm of our user base. So I can’t thank you enough guys!