alek314
09-03-2010 07:05:25
hi!
i try to use the bullet.btTriangleIndexVertexArray class in python, and use ctype to allocate the vertex and index buffer, but when i call the constructor, i got the following error:
Boost.Python.ArgumentError: Python argument types in
btTriangleIndexVertexArray.__init__(btTriangleIndexVertexArray, int, LP_c_long, int, int, LP_c_float, int)
did not match C++ signature:
__init__(struct _object *, int numTriangles, int * triangleIndexBase, int triangleIndexStride, int numVertices, float * vertexBase, int vertexStride)
any idea?
Thanks
alek314
i try to use the bullet.btTriangleIndexVertexArray class in python, and use ctype to allocate the vertex and index buffer, but when i call the constructor, i got the following error:
Boost.Python.ArgumentError: Python argument types in
btTriangleIndexVertexArray.__init__(btTriangleIndexVertexArray, int, LP_c_long, int, int, LP_c_float, int)
did not match C++ signature:
__init__(struct _object *, int numTriangles, int * triangleIndexBase, int triangleIndexStride, int numVertices, float * vertexBase, int vertexStride)
any idea?
Thanks
alek314