diff --git a/src/renderers/pixi/sprites/circleSprite.ts b/src/renderers/pixi/sprites/circleSprite.ts index 17bebaf1..9458d7b8 100644 --- a/src/renderers/pixi/sprites/circleSprite.ts +++ b/src/renderers/pixi/sprites/circleSprite.ts @@ -32,12 +32,19 @@ export class CircleSprite { } +/** + * TODO - generate circle sprites on the fly scaled to the max scale they can be rendered at + */ // export class CircleSprite extends PIXI.Sprite { -// maxRadius: number +// private _maxRadius: number // constructor(texture: PIXI.Texture, maxRadius: number) { // super(texture) -// this.maxRadius = maxRadius +// this._maxRadius = maxRadius +// } + +// scaleToRadius(radius: number) { +// this.scale.set(radius / this._maxRadius) // } // }