aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/GLWorld.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/helper-classes/RDGE/GLWorld.js')
-rw-r--r--js/helper-classes/RDGE/GLWorld.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js
index e6e7f466..f9081248 100644
--- a/js/helper-classes/RDGE/GLWorld.js
+++ b/js/helper-classes/RDGE/GLWorld.js
@@ -276,13 +276,13 @@ function GLWorld( canvas, use3D )
276 276
277 this.onRunState = function() 277 this.onRunState = function()
278 { 278 {
279 console.log( "GLWorld.onRunState" ); 279// console.log( "GLWorld.onRunState" );
280 this.restartRenderLoop(); 280 this.restartRenderLoop();
281 } 281 }
282 282
283 this.onLoadState = function() 283 this.onLoadState = function()
284 { 284 {
285 console.log( "GLWorld.onLoadState" ); 285// console.log( "GLWorld.onLoadState" );
286 } 286 }
287 287
288 this.textureToLoad = function( texture ) 288 this.textureToLoad = function( texture )
@@ -339,7 +339,7 @@ function GLWorld( canvas, use3D )
339 339
340 this.textureLoadedCallback = function( name ) 340 this.textureLoadedCallback = function( name )
341 { 341 {
342 console.log( "*** material texture loaded: " + name ); 342// console.log( "*** material texture loaded: " + name );
343 343
344 var world = this._world; 344 var world = this._world;
345 if (!world) 345 if (!world)
@@ -769,7 +769,7 @@ GLWorld.prototype.render = function()
769 } 769 }
770 else 770 else
771 { 771 {
772 console.log( "GLWorld.render, " + this._worldCount ); 772// console.log( "GLWorld.render, " + this._worldCount );
773 g_Engine.setContext( this._canvas.uuid ); 773 g_Engine.setContext( this._canvas.uuid );
774 //this.draw(); 774 //this.draw();
775 this.restartRenderLoop(); 775 this.restartRenderLoop();
@@ -809,7 +809,7 @@ GLWorld.prototype.getShapeFromPoint = function( offsetX, offsetY )
809 var go = this._geomRoot; 809 var go = this._geomRoot;
810 if(go.collidesWithPoint(x,y)) 810 if(go.collidesWithPoint(x,y))
811 { 811 {
812 console.log("collision found"); 812// console.log("collision found");
813 return go; 813 return go;
814 } 814 }
815 while (go.getNext()) 815 while (go.getNext())
@@ -817,7 +817,7 @@ GLWorld.prototype.getShapeFromPoint = function( offsetX, offsetY )
817 go = go.getNext(); 817 go = go.getNext();
818 if(go.collidesWithPoint(x,y)) 818 if(go.collidesWithPoint(x,y))
819 { 819 {
820 console.log("collision found"); 820// console.log("collision found");
821 return go; 821 return go;
822 } 822 }
823 } 823 }