Skip to content

Commit

Permalink
bump juno graph to rc-4
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslaneconkling committed Oct 27, 2020
1 parent f8cc5fd commit d4db312
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/renderers/pixi/sprites/circleSprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,19 @@ export class CircleSprite<N extends Node, E extends Edge> {
}


/**
* 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)
// }
// }

Expand Down

0 comments on commit d4db312

Please sign in to comment.