debug off

This commit is contained in:
Philip Rosedale 2014-05-16 09:36:55 -07:00
parent 25f1e180f5
commit 4532c93419

View file

@ -55,7 +55,7 @@ function printVector(text, v, decimals) {
print(text + " " + v.x.toFixed(decimals) + ", " + v.y.toFixed(decimals) + ", " + v.z.toFixed(decimals));
}
var debug = true;
var debug = false;
// Used by handleGrabBehavior() for managing the grab position changes
function getAndResetGrabDelta() {
@ -152,8 +152,6 @@ function handleGrabBehavior(deltaTime) {
var euler = Quat.safeEulerAngles(deltaRotation);
print("dx: " + euler.x);
// Adjust body yaw by roll from controller
var orientation = Quat.multiply(Quat.angleAxis(((euler.y * YAW_SCALING) +
(euler.z * ROLL_SCALING)) * deltaTime, {x:0, y: 1, z:0}), MyAvatar.orientation);