build/browser/index.js
/**
         * @param contextManager This will usually be provided by the `Engine`.
         * @param options
         * @param levelUp Leave as zero unless you are extending this class.
         */
@param contextManager This will usually be provided by the `Engine`.
@param options
@param levelUp Leave as zero unless you are extending this class.
@param contextManager This will usually be provided by the ` Engine ` . @param options @param levelUp Leave as zero unless you are extending this class .
function Track(contextManager, options, levelUp) {
            if (options === void 0) { options = {}; }
            if (levelUp === void 0) { levelUp = 0; }
            var _this = 
            _super.call(this, new TrackGeometry(contextManager), new LineMaterial(contextManager), contextManager, {}, levelUp + 1) || this;
            _this.setLoggingName('Track');
            var geometry = _this.geometry;
            geometry.release();
            geometry.release();
            var material = _this.material;
            material.release();
            material.release();
            setColorOption(_this, options, Color.gray);
            if (levelUp === 0) {
                _this.synchUp();
            }
            return _this;
        }
function Track ( contextManager , options , levelUp ) { if ( options === void 0 ) { options = { } ; } if ( levelUp === void 0 ) { levelUp = 0 ; } var _this = _super . call ( this , new TrackGeometry ( contextManager ) , new LineMaterial ( contextManager ) , contextManager , { } , levelUp + 1 ) || this ; _this . setLoggingName ( 'Track' ) ; var geometry = _this . geometry ; geometry . release ( ) ; geometry . release ( ) ; var material = _this . material ; material . release ( ) ; material . release ( ) ; setColorOption ( _this , options , Color . gray ) ; if ( levelUp === 0 ) { _this . synchUp ( ) ; } return _this ; }
@param contextManager This will usually be provided by the `Engine`.
@param contextManager This will usually be provided by the ` Engine ` .
// The TrackGeometry cannot be cached because it is dynamic. // The LineMaterial can be cached. // Adjust geometry reference count resulting from construction. // Adjust material reference count resulting from construction.