|
@@ -349,8 +349,6 @@ Object.assign( Quaternion.prototype, {
|
|
|
|
|
|
setFromUnitVectors: function () {
|
|
setFromUnitVectors: function () {
|
|
|
|
|
|
- // http://lolengine.net/blog/2014/02/24/quaternion-from-two-vectors-final
|
|
|
|
-
|
|
|
|
// assumes direction vectors vFrom and vTo are normalized
|
|
// assumes direction vectors vFrom and vTo are normalized
|
|
|
|
|
|
var v1 = new Vector3();
|
|
var v1 = new Vector3();
|