Refactor shapes
This commit is contained in:
parent
eb39846b75
commit
006ab3c4e6
1 changed files with 203 additions and 256 deletions
|
|
@ -38,7 +38,7 @@ export class RenderingPass {
|
|||
const tileUvSize = vec2.fromValues(q, q);
|
||||
|
||||
const possiblyOnScreenDrawables = this.drawables.filter(
|
||||
(p) => p.minimumDistance(viewBoxCenter) < viewBoxRadius
|
||||
(p) => p.distance(viewBoxCenter) < viewBoxRadius
|
||||
);
|
||||
|
||||
const origin = vec2.transformMat2d(
|
||||
|
|
|
|||
Loading…
Reference in a new issue