import { Transform } from '@pixi/math' ; export class AbstractProjection { constructor ( legacy , enable = true ) { this . legacy = legacy ; if ( enable ) { this . enabled = true ; } ( this . legacy as any ) . proj = this ; } legacy : Transform ; _enabled = false ; get enabled ( ) : boolean { return this . _enabled ; } set enabled ( value ) { this . _enabled = value ; } clear ( ) { } } export enum TRANSFORM_STEP { NONE = 0 , BEFORE_PROJ = 4 , PROJ = 5 , ALL = 9 }