yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00631
Re: normalized null quaternion has length 0...
-
To:
Yade Development Group <yade-dev@xxxxxxxxxxxxxxxxxxx>
-
From:
Václav Šmilauer <eudoxos@xxxxxxxx>
-
Date:
Wed, 17 Sep 2008 17:51:17 +0200
-
In-reply-to:
<48CF7027.7020701@hmg.inpg.fr>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080724 Lightning/0.8 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666
Bruno Chareyre napsal(a):
> Thank you. I don't feel really good now... Do you think some
> uninitialised quaternions could be used somewhere? Why did you hit
> this feature?
Eh, I found a few moments (hours) later that I actually had code like:
Quaternionr q1,q2;
q1-s31orientation*qq1.Conjugate(); q2=se32orientation*qq2.Conjugate();
You see? I overlooked the difference between - and = in "assignement" of q1.
So now I think it is OK...
Vaclav
References