feat: Vector for behavior context
This commit is contained in:
parent
1d8c3b7506
commit
12da5540a2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user