student-ar-org-papervision3d-core-culling-DefaultLineCuller.ax [swf] [flash] flex
*
author: Seb Lee-Delisle */ public class @ax-student-ar-org-papervision3d-core-culling-DefaultLineCuller implements ILineCuller { public function @ax-student-ar-org-papervision3d-core-culling-DefaultLineCuller() { } public function testLine(line : Line3D) : Boolean { // culls if one of the points is behind the camera... return ((line.v0.vertex3DInstance.visible)&&(line.v1.vertex3DInstance.visible)); } } }
[]readme course(s) prefaceI 1 2II 3 4III 5 6 7IV 8 9 10V 11 12 afterthought(s)appendix reference(s) example(s)resource(s) _![]()
(C) Æliens 04/09/2009
You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.