build/browser/index.js
/**
     * @hidden
     * Used by the ArrowGeometry constructor.
     */
@hidden
Used by the ArrowGeometry constructor.
@hidden Used by the ArrowGeometry constructor .
function arrowPrimitive(options) {
        if (options === void 0) { options = { kind: 'ArrowGeometry' }; }
        mustBeObject('options', options);
        var builder = new ArrowBuilder(getAxis$1(options), getCutLine(options), false);
        if (isDefined(options.radiusCone)) {
            builder.radiusCone = mustBeNumber("options.radiusCone", options.radiusCone);
        }
        if (isDefined(options.thetaSegments)) {
            builder.thetaSegments = mustBeInteger("options.thetaSegments", options.thetaSegments);
        }
        builder.stress.copy(isDefined(options.stress) ? options.stress : Vector3.vector(1, 1, 1));
        builder.offset.copy(isDefined(options.offset) ? options.offset : Vector3.zero());
        return builder.toPrimitive();
    }
function arrowPrimitive ( options ) { if ( options === void 0 ) { options = { kind : 'ArrowGeometry' } ; } mustBeObject ( 'options' , options ) ; var builder = new ArrowBuilder ( getAxis$1 ( options ) , getCutLine ( options ) , false ) ; if ( isDefined ( options . radiusCone ) ) { builder . radiusCone = mustBeNumber ( "options.radiusCone" , options . radiusCone ) ; } if ( isDefined ( options . thetaSegments ) ) { builder . thetaSegments = mustBeInteger ( "options.thetaSegments" , options . thetaSegments ) ; } builder . stress . copy ( isDefined ( options . stress ) ? options . stress : Vector3 . vector ( 1 , 1 , 1 ) ) ; builder . offset . copy ( isDefined ( options . offset ) ? options . offset : Vector3 . zero ( ) ) ; return builder . toPrimitive ( ) ; }
@hidden
 Used by the ArrowGeometry constructor.
@hidden Used by the ArrowGeometry constructor .