Publisher review:com.wis.math.geom.quadric.Cylinder implements the behaviours of the Cylinder Class. Implements the behaviours of the Cylinder Class. Provides methods for the IObj interface based on JS RayTracer2 by John Haggerty. Since the interface doesn't permit overloading methods, I've added the 'getNormalAt' method to define the normal to the passed intersection and 'pos' Vector object, and I've changed 'getNormalAtUntransformed' into an abstract method that supports the interface but doesn't get called. This is a workaround and may change with testing.
usage:var inst:Cylinder = new Cylinder(end1,end1,rad,open);
parameters:
end1 (Vector) -- a position Vector object defining the center of one end of the cylinder. end2 (Vector) -- a position Vector object defining the center of the other end of the cylinder. rad (Number) -- a real number for radius of the cylinder barrel. open (Boolean) -- default is 'false', cylinder ends are closed.
com.wis.math.geom.quadric.Cylinder is a Flash script for Ad Management scripts design by Richard Wright.
It runs on following operating system: Windows / Linux / Mac OS.
Operating system:Windows / Linux / Mac OS