rotating a sphere a to b point on itself
问题 Im trying to figure out how to rotate a sphere from point A on itself to point b on itself. I found some Unity3d code: Quaternion rot = Quaternion.FromToRotation (pointA, pointB); sphere.transform.rotation *= rot; //Multiply rotations to get the resultant rotation via http://answers.unity3d.com/questions/21921/rotate-point-a-on-sphere-to-point-b-on-sphere.html but I can't figure out how to implement it in Three.js. Here's my code: var s = sphere mesh var va = 1st start vector var vb = 2nd end