repo: janusweb action: commit revision: path_from: revision_from: 80eb1506ae4c0a6f13b876a790ab89e99a507c40: path_to: revision_to:
commit 80eb1506ae4c0a6f13b876a790ab89e99a507c40 Author: James BaicoianuDate: Thu Jul 25 10:55:20 2019 -0700 Track position, scale, and color for changes across frames diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -54,6 +54,9 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
ongazeactivate: { type: 'callback' },
});
this.lastframevalues = {
+ position: new THREE.Vector3(0,0,0),
+ scale: new THREE.Vector3(1,1,1),
+ color: new THREE.Color(),
xdir: new THREE.Vector3(1,0,0),
ydir: new THREE.Vector3(0,1,0),
zdir: new THREE.Vector3(0,0,1),
-----END OF PAGE-----