feat: context Rectangle
This commit is contained in:
parent
27afb7de81
commit
9e083a26c3
|
@ -1,7 +1,7 @@
|
|||
import D from 'debug';
|
||||
|
||||
import {fastApply} from '@avocado/core';
|
||||
import {Vector} from '@avocado/math';
|
||||
import {Rectangle, Vector} from '@avocado/math';
|
||||
|
||||
import {Globals} from './globals';
|
||||
import {TraversalCompiler} from './traversal-compiler';
|
||||
|
@ -20,6 +20,7 @@ class Context extends Map {
|
|||
super.clear();
|
||||
this.add('context', this);
|
||||
this.add('global', new Globals());
|
||||
this.add('Rectangle', Rectangle);
|
||||
this.add('Vector', Vector);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user