You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry if I'm being daft, but would this work with passing a three.vector in as a variable, and allowing the code to call methods on that? I want to allow declarative animations in @scenevr.
var src = 'v.multiplyScalar(t)';
var ast = parse(src).body[0].expression;
console.log(evaluate(ast, {
v: new THREE.Vector3,
t : new Date().valueOf()
}));
The text was updated successfully, but these errors were encountered:
Sorry if I'm being daft, but would this work with passing a three.vector in as a variable, and allowing the code to call methods on that? I want to allow declarative animations in @scenevr.
The text was updated successfully, but these errors were encountered: