mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
remove unused variable
This commit is contained in:
parent
4647f84638
commit
e70cd9edd9
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue