hulu1234567890 / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

btTriangleMesh uses float array for m_3componentVertices #704

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

In btTriangleMesh class member m_3componentVertices is a float array, while it 
should be a btScalar array, as in the btTriangleMesh ctor the related 
vertexstride is filled this way:
        m_indexedMeshes[0].m_vertexStride = 3*sizeof(btScalar);
(in case m_use4componentVertices is false ).

Version: 2.81 (2613)

Svn patch included.

Original issue reported on code.google.com by nsark...@gmail.com on 26 Mar 2013 at 10:21

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks for the patch, I'll review and apply it before next release.

Original comment by erwin.coumans on 1 Apr 2013 at 6:07

GoogleCodeExporter commented 8 years ago
Fixed in latest trunk:
https://code.google.com/p/bullet/source/detail?r=2664

Thanks for the contribution!

Original comment by erwin.coumans on 12 Sep 2013 at 10:22