Re: AMD x86_64 dMassCheck() and bNormalizationResult errors

"Bram Stolk" <[email protected]> Mon, 19 Nov 2007 07:26:11 -0800
Newsgroups gmane.comp.lib.ode
Message-ID <[email protected]>
--===============0412124292==
Content-Type: multipart/alternative; 
	boundary="----=_Part_19343_6568087.1195485971689"

------=_Part_19343_6568087.1195485971689
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Nov 18, 2007 12:08 AM, Funky Fred <[email protected]> wrote:

>
> bool PhysicsEngine::setMass( const string& name, double mass )
> {
>    ...
>    dMass dmass;
>    dMassSetZero( &dmass );
>    //dMassAdjust( &dmass, mass );
>    dmass.mass = mass;
>    dBodySetMass( bodies[name], &dmass );
>    return true;
>
> }
>
>
What value do you feed into this function for mass?
Are you sure it is non-zero, and not NaN ?

  Bram


-- 
Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.

------=_Part_19343_6568087.1195485971689
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Nov 18, 2007 12:08 AM, Funky Fred &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>bool PhysicsEngine::setMass( const string&amp; name, double mass )<br>{<br> &nbsp; &nbsp;...<br> &nbsp; &nbsp;dMass dmass;<br> &nbsp; &nbsp;dMassSetZero( &amp;dmass );<br> &nbsp; &nbsp;//dMassAdjust( &amp;dmass, mass );<br> &nbsp; &nbsp;dmass.mass = mass;<br> &nbsp; &nbsp;dBodySetMass( bodies[name], &amp;dmass );
<br> &nbsp; &nbsp;return true;<br><br>}<br><br></blockquote></div><br>What value do you feed into this function for mass?<br>Are you sure it is non-zero, and not NaN ?<br><br>&nbsp; Bram<br><br><br>-- <br>Zapp: Captain&#39;s log, stardate...er..
<br>Kif: Ohhh. April 13th.<br>Zapp: April 13th. Point 2.

------=_Part_19343_6568087.1195485971689--

--===============0412124292==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode
--===============0412124292==--