mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 10:33:10 +02:00
Remove unused findRayIntersection from zoneOverlayManager
This commit is contained in:
parent
d45e935b93
commit
30b9e16c1a
1 changed files with 0 additions and 24 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue