repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 80eb1506ae4c0a6f13b876a790ab89e99a507c40:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 80eb1506ae4c0a6f13b876a790ab89e99a507c40
Author: James Baicoianu 
Date:   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
index 9c5b783c427e2c963e298e52ab88811d7015a862..
index ..01a9ea96e97cf4872893925b5d32188de21d0b2c 100644
--- 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-----