Rotate vector by a quaternion
m.Transform(myVectorToRotate);gives a new(modified) VectorI needed : Vector3D myVectorResult = m.Transform(myVectorToRotate);
View ArticleRotate vector by a quaternion
I added this code to a function private void QRotation (object sender, Event Args e) I called the function using Dispathcer TimeSpan, but nothing happens when I run the project. Am I missing something?
View ArticleRotate vector by a quaternion
Matrix3D m = Matrix3D.Identity; Quaternion q = new Quaternion(new Vector3D(1, 0, 0), 45); m.Rotate(q); Vector3D myVectorToRotate = new Vector3D(1, 2, 3); m.Transform(myVectorToRotate);this rotates...
View ArticleRotate vector by a quaternion
hi allIs it possible to rotate a Vector3D by a given quaternion in WPF?I found the following:v' = qr * v * qr<sup>-1</sup>but I can't multiply a vector with a quaternionany ideas?
View Article
More Pages to Explore .....