Verified Commit 62cf0a75 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: export values for bp::enum_

parent 1cc05720
......@@ -253,6 +253,7 @@ void exposeCollisionGeometries ()
.value ("BVH_MODEL_UNKNOWN" , BVH_MODEL_UNKNOWN)
.value ("BVH_MODEL_TRIANGLES" , BVH_MODEL_TRIANGLES)
.value ("BVH_MODEL_POINTCLOUD" , BVH_MODEL_POINTCLOUD)
.export_values()
;
enum_<BVHBuildState>("BVHBuildState")
......@@ -272,6 +273,7 @@ void exposeCollisionGeometries ()
.value ("OT_BVH" , OT_BVH)
.value ("OT_GEOM" , OT_GEOM)
.value ("OT_OCTREE" , OT_OCTREE)
.export_values()
;
}
......@@ -297,6 +299,7 @@ void exposeCollisionGeometries ()
.value ("GEOM_HALFSPACE", GEOM_HALFSPACE)
.value ("GEOM_TRIANGLE" , GEOM_TRIANGLE)
.value ("GEOM_OCTREE" , GEOM_OCTREE)
.export_values()
;
}
......
......@@ -77,6 +77,7 @@ void exposeCollisionAPI ()
.value ("CONTACT", CONTACT)
.value ("DISTANCE_LOWER_BOUND", DISTANCE_LOWER_BOUND)
.value ("NO_REQUEST", NO_REQUEST)
.export_values()
;
}
......
......@@ -71,6 +71,7 @@ void exposeGJK()
.value ("Valid", GJK::Valid)
.value ("Inside", GJK::Inside)
.value ("Failed", GJK::Failed)
.export_values()
;
}
......
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