Skip to content

Instantly share code, notes, and snippets.

@SamGondelman
Last active September 25, 2017 18:17
Show Gist options
  • Save SamGondelman/544e0a9cd3320e4ced5b5ae64d66da90 to your computer and use it in GitHub Desktop.
Save SamGondelman/544e0a9cd3320e4ced5b5ae64d66da90 to your computer and use it in GitHub Desktop.
// Created by Sam Gondelman on 9/25/2017
// 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
(function(){
this.hoverOverEntity = function(entityID, mouseEvent) {
print("pos3D: " + JSON.stringify(mouseEvent.pos3D));
print("direction: " + JSON.stringify(mouseEvent.direction));
print("normal: " + JSON.stringify(mouseEvent.normal));
};
}) // END LOCAL_SCOPE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment