build/module/lib/transforms/ConeTransform.js
/**
     * @param clockwise
     * @param sliceAngle
     * @param aPosition The name to use for the position attribute.
     * @param aTangent The name to use for the tangent plane attribute.
     */
@param clockwise
@param sliceAngle
@param aPosition The name to use for the position attribute.
@param aTangent The name to use for the tangent plane attribute.
@param clockwise @param sliceAngle @param aPosition The name to use for the position attribute . @param aTangent The name to use for the tangent plane attribute .
function ConeTransform(clockwise, sliceAngle, aPosition, aTangent) {
        this.h = Vector3.vector(0, 1, 0);
        this.a = Vector3.vector(0, 0, 1);
        this.b = Vector3.vector(1, 0, 0);
        this.clockwise = mustBeBoolean('clockwise', clockwise);
        this.sliceAngle = mustBeNumber('sliceAngle', sliceAngle);
        this.aPosition = mustBeString('aPosition', aPosition);
        this.aTangent = mustBeString('aTangent', aTangent);
    }
function ConeTransform ( clockwise , sliceAngle , aPosition , aTangent ) { this . h = Vector3 . vector ( 0 , 1 , 0 ) ; this . a = Vector3 . vector ( 0 , 0 , 1 ) ; this . b = Vector3 . vector ( 1 , 0 , 0 ) ; this . clockwise = mustBeBoolean ( 'clockwise' , clockwise ) ; this . sliceAngle = mustBeNumber ( 'sliceAngle' , sliceAngle ) ; this . aPosition = mustBeString ( 'aPosition' , aPosition ) ; this . aTangent = mustBeString ( 'aTangent' , aTangent ) ; }
@param clockwise
 @param sliceAngle
 @param aPosition The name to use for the position attribute.
@param clockwise @param sliceAngle @param aPosition The name to use for the position attribute .
/**
         * The vector from the base of the cone to the apex.
         * The default is e2.
         */ /**
         * The radius vector and the initial direction for a slice.
         * The default is e3.
         */ /**
         * The perpendicular radius vector.
         * We compute this so that the grid wraps around the cone with
         * u increasing with θ and v increasing toward the apex of the cone.
         * The default is e1.
         */