remove unused variable

This commit is contained in:
Andrew Meadows 2015-06-08 15:11:42 -07:00
parent 4647f84638
commit e70cd9edd9

View file

@ -256,7 +256,6 @@ function mouseMoveEvent(event) {
var axis = Vec3.cross(dragOffset, Quat.getFront(orientation));
var axis = Vec3.normalize(axis);
var ROTATE_STRENGTH = 8.0; // magic number tuned by hand
var angle = ROTATE_STRENGTH * Math.sqrt(dx * dx + dy * dy);
gAngularVelocity = Vec3.multiply(ROTATE_STRENGTH, axis);
} else {
var newTargetPosition;