From 30b9e16c1a0b1cba9d7618e2297243fc041c9625 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Thu, 23 Apr 2015 09:52:21 -0700 Subject: [PATCH] Remove unused findRayIntersection from zoneOverlayManager --- examples/libraries/zoneOverlayManager.js | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/examples/libraries/zoneOverlayManager.js b/examples/libraries/zoneOverlayManager.js index 603caf44c7..9898b888fa 100644 --- a/examples/libraries/zoneOverlayManager.js +++ b/examples/libraries/zoneOverlayManager.js @@ -28,34 +28,10 @@ ZoneOverlayManager = function(isEntityFunc, entityAddedFunc, entityRemovedFunc, position: properties.position, rotation: properties.rotation, dimensions: properties.dimensions, - visible: true, }); } }; - this.findRayIntersection = function(pickRay) { - return false; - - var result = Overlays.findRayIntersection(pickRay); - var found = false; - - if (result.intersects) { - for (var id in entityOverlays) { - if (result.overlayID == entityOverlays[id]) { - result.entityID = entityIDs[id]; - found = true; - break; - } - } - - if (!found) { - result.intersects = false; - } - } - - return result; - }; - this.setVisible = function(isVisible) { if (visible != isVisible) { visible = isVisible;