At 11:54 PM -0500 2/21/05, Heinz J. Gattringer wrote:
Object3D2.Orientation.W=Object3D1.Orientation.W
Object3D2.Orientation.X=Object3D1.Orientation.X
Object3D2.Orientation.Y=Object3D1.Orientation.Y
Object3D2.Orientation.Z=Object3D1.Orientation.Z
Is there a nicer and more efficient way to copy one quaternion to
another without having them "coupled"?
There are some shorter ways, but nothing more efficient.
I think in my code I made an extension method of Quaternion that adds
a Copy to it, just like Vector3D has.
I honestly don't know why we don't have Quaternion.Copy built in --
please file a feature request if you think it's a good idea.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|