feat: context Rectangle

This commit is contained in:
cha0s 2019-06-10 02:54:27 -05:00
parent 27afb7de81
commit 9e083a26c3

View File

@ -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);
}