[ODE] a couple of small ode-0.5 changes
Jeffrey Smith
jeffreys at Softimage.com
Tue Sep 21 10:53:31 MST 2004
I'm about to do a checkin of some changes I've made; I'll incorporate these
as well. Thanks.
-jeff
-----Original Message-----
From: Jani Kajala [mailto:kajala at gamebox.net]
Sent: September 21, 2004 6:00 AM
To: ode at q12.org
Subject: [ODE] a couple of small ode-0.5 changes
quickstep.cpp(324):
fixed warning 'loss of precision'
-------------------
<<<<<<<< from >>>>>>>>
for (i=0; i<m; i++) lambda[i] *= 0.9;
<<<<<<<< to >>>>>>>>
for (i=0; i<m; i++) lambda[i] *= (dReal)0.9;
collision_trimesh.cpp(391):
added dGeomTriMeshGetData
---------------------------
dTriMeshDataID dGeomTriMeshGetData(dGeomID g)
{
dUASSERT(g && g->type == dTriMeshClass, "argument not a trimesh");
return ((dxTriMesh*)g)->Data;
}
collision_trimesh.h(126):
added dGeomTriMeshGetData
-------------------------
dTriMeshDataID dGeomTriMeshGetData(dGeomID g);
collision_trimesh_internal.h(46):
added dBase inheritance for memory allocation
---------------------------------
struct dxTriMeshData : public dBase
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list