Commit 5060123b77c7f4828c0cb63b2e92dc0251d8214d

Authored by Lars Jørgen Fredheim
1 parent 442fcf7c

Removed timer

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
js/app.js
... ... @@ -112,15 +112,15 @@ function main() {
112 112 window.addEventListener('wheel', onMouseWheel, true);
113 113  
114 114 scene.registerBeforeRender(function() {
115   - timer += scene.getEngine().getDeltaTime();
  115 + //timer += scene.getEngine().getDeltaTime();
116 116 if(customTerrace) {
117 117 customTerrace.updateLines();
118 118 }
119 119 if(meshControls.visible && meshControls.textPlanesNeedUpdate) {
120   - if(timer >= 100) {
121   - timer = 0;
  120 + //if(timer >= 100) {
  121 + // timer = 0;
122 122 TextProvider.updateXZ(meshControls.meshClass);
123   - }
  123 + //}
124 124 }
125 125 });
126 126  
... ...