function RopeGeometry(width, points, textureScale) {
        if (width === void 0) { width = 200; }
        if (textureScale === void 0) { textureScale = 0; }
        var _this = _super.call(this, new Float32Array(points.length * 4), new Float32Array(points.length * 4), new Uint16Array((points.length - 1) * 6)) || this;
        _this.points = points;
        _this._width = width;
        _this.textureScale = textureScale;
        _this.build();
        return _this;
    }
@param width - The width (i.e., thickness) of the rope.
@param points - An array of {@link PIXI.Point} objects to construct this rope.
@param textureScale - By default the rope texture will be stretched to match
    rope length. If textureScale is positive this value will be treated as a scaling
    factor and the texture will preserve its aspect ratio instead. To create a tiling rope
    set baseTexture.wrapMode to {@link PIXI.WRAP_MODES.REPEAT} and use a power of two texture,
    then set textureScale=1 to keep the original texture pixel size.
    In order to reduce alpha channel artifacts provide a larger texture and downsample -
    i.e. set textureScale=0.5 to scale it down twice.