NewtonMeshAddFace(..) is commented out on 2.33 and SVN

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

NewtonMeshAddFace(..) is commented out on 2.33 and SVN

Postby aisman » Wed May 18, 2011 5:26 am

Source 2.33 (I think the commeted part should not be commented :
Code: Select all
void NewtonMeshAddFace(const NewtonMesh* const mesh, int vertexCount, const dFloat* const vertex, int strideInBytes, int materialIndex)
{
   _ASSERTE (0);
/*
   dgMeshEffect* const meshEffect = (dgMeshEffect*) mesh;

   TRACE_FUNTION(__FUNCTION__);
   meshEffect->AddPolygon (vertexCount, vertex, strideInBytes, materialIndex);
*/
}
Source 2.32:
Code: Select all
void NewtonMeshAddFace(const NewtonMesh* const mesh, int vertexCount, const dFloat* vertex, int strideInBytes, int materialIndex)
{
   dgMeshEffect* meshEffect;
   meshEffect = (dgMeshEffect*) mesh;



   TRACE_FUNTION(__FUNCTION__);
   meshEffect->AddPolygon (vertexCount, vertex, strideInBytes, materialIndex);

}
aisman
 
Posts: 2
Joined: Wed May 18, 2011 5:22 am

Re: NewtonMeshAddFace(..) is commented out on 2.33 and SVN

Postby Julio Jerez » Wed May 18, 2011 11:29 am

Oh yes you are right.
It is corrected now, you cn async to SVN and get the fix

Thank you
Julio Jerez
Moderator
Moderator
 
Posts: 12249
Joined: Sun Sep 14, 2003 2:18 pm
Location: Los Angeles


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 10 guests

cron