realbasic-games
[Top] [All Lists]

Re: Setting quaternions by way of "=" or copying them

To: realbasic-games at lists dot realsoftware dot com
Subject: Re: Setting quaternions by way of "=" or copying them
From: "Heinz J. Gattringer" <heinzjos at uio dot satnet dot net>
Date: Tue, 22 Feb 2005 13:48:20 -0500
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <20050222180022 dot 2842574AF86 at lists dot realsoftware dot com>
On Feb 22, 2005, at 1:00 PM, realbasic-games-request at lists dot realsoftware dot com wrote:

        Sub Copy(Extends q1 As Quaternion, q As Quaternion)
                q1.x = q.x
                q1.y = q.y
                q1.z = q.z
                q1.w = q.w
        End Sub

You now have a Quaternion.Copy method. This isn't more efficient, but
it's definitely nicer.

Frank.

I concur.

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

I think I will, together with the posibility to send an Object3D the message Dude3D.Remove in order to have it removed from the Rb3DSpace inventory, much like you can do with a sprite. And I might even suggest the feature to have a slice of warm pizza pop out of the cd-tray at 2 a.m. while coding around on Realbasic :).

Thanks,
Heinz Jose

_______________________________________________
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>

<Prev in Thread] Current Thread [Next in Thread>