From 9d731dcca3ef39c90e82167f4a6908df599ab930 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Wed, 23 Feb 2022 22:55:38 -0500 Subject: [PATCH] Delete mirrorReflection.js --- .../serverless/Scripts/mirrorReflection.js | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 interface/resources/serverless/Scripts/mirrorReflection.js diff --git a/interface/resources/serverless/Scripts/mirrorReflection.js b/interface/resources/serverless/Scripts/mirrorReflection.js deleted file mode 100644 index 11f4f0781d..0000000000 --- a/interface/resources/serverless/Scripts/mirrorReflection.js +++ /dev/null @@ -1,32 +0,0 @@ -// -// mirrorReflection.js -// -// Created by Rebecca Stankus on 8/30/17. -// Copyright 2017 High Fidelity, Inc. -// -// Distributed under the Apache License, Version 2.0. -// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html -// -// Attach `mirrorReflection.js` to a zone entity that is parented to -// the box entity whose Script is `mirrorClient.js`. -// When a user enters this zone, the mirror will turn on. -// When a user leaves this zone, the mirror will turn off. - -(function () { - var mirrorID, reflectionAreaID; - // get id of reflection area and mirror - this.preload = function(entityID) { - reflectionAreaID = entityID; - mirrorID = Entities.getEntityProperties(reflectionAreaID, 'parentID').parentID; - }; - - // when avatar enters reflection area, begin reflecting - this.enterEntity = function(entityID){ - Entities.callEntityMethod(mirrorID, 'mirrorLocalEntityOn'); - }; - - // when avatar leaves reflection area, stop reflecting - this.leaveEntity = function (entityID) { - Entities.callEntityMethod(mirrorID, 'mirrorLocalEntityOff'); - }; -});