fix mod.js

This commit is contained in:
Seth Alves 2016-09-08 07:35:52 -07:00
parent 9c96ffc9cb
commit 9e99cc1f78
2 changed files with 3 additions and 1 deletions

View file

@ -25,7 +25,7 @@ getGrabPointSphereOffset = function(handController) {
}; };
}; };
// controllerLocation is where the controller would be, in-world. // controllerWorldLocation is where the controller would be, in-world, with an added offset
getControllerWorldLocation = function (handController, doOffset) { getControllerWorldLocation = function (handController, doOffset) {
var orientation; var orientation;
var position; var position;

View file

@ -15,6 +15,8 @@
(function() { // BEGIN LOCAL_SCOPE (function() { // BEGIN LOCAL_SCOPE
Script.include("/~/system/libraries/controllers.js");
// grab the toolbar // grab the toolbar
var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system"); var toolbar = Toolbars.getToolbar("com.highfidelity.interface.toolbar.system");