diff options
author | Nivesh Rajbhandari | 2012-02-09 16:03:33 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-09 16:03:33 -0800 |
commit | a757d4d0064e0f09bb1a99651b8493514cbc4999 (patch) | |
tree | 8fc29db8b3c3f55686664b1250db795765fbb75c /js | |
parent | 63e68c9ed57253994b7424dd03059064cc656e98 (diff) | |
download | ninja-a757d4d0064e0f09bb1a99651b8493514cbc4999.tar.gz |
Removing some console logs. I kept in the ones that signify error cases.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js')
-rw-r--r-- | js/helper-classes/RDGE/GLWorld.js | 12 |
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 | } |