Verified Commit d74b4c37 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: add doc for BVHModelBase

parent abcdb7e7
......@@ -320,8 +320,10 @@ void exposeCollisionGeometries ()
class_ <BVHModelBase, bases<CollisionGeometry>, BVHModelPtr_t, noncopyable>
("BVHModelBase", no_init)
.def ("vertices", &BVHModelBaseWrapper::vertices)
.def ("tri_indices", &BVHModelBaseWrapper::tri_indices)
.def ("vertices", &BVHModelBaseWrapper::vertices,
bp::args("self","index"),"Retrieve the vertex given by its index.")
.def ("tri_indices", &BVHModelBaseWrapper::tri_indices,
bp::args("self","index"),"Retrieve the triangle given by its index.")
.def_readonly ("num_vertices", &BVHModelBase::num_vertices)
.def_readonly ("num_tris", &BVHModelBase::num_tris)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment