feat: Vector for behavior context

This commit is contained in:
cha0s 2019-05-30 09:10:23 -05:00
parent 1d8c3b7506
commit 12da5540a2

View File

@ -1,6 +1,7 @@
import D from 'debug';
import {fastApply} from '@avocado/core';
import {Vector} from '@avocado/math';
import {Globals} from './globals';
import {TraversalCompiler} from './traversal-compiler';
@ -19,6 +20,7 @@ class Context extends Map {
super.clear();
this.add('context', this);
this.add('global', new Globals());
this.add('Vector', Vector);
}
compile(traversal) {