From 0b1dca3d9c65e2dbb30de23ea3c52d52481d2fe4 Mon Sep 17 00:00:00 2001 From: Tigran Gasparian Date: Fri, 15 Jun 2018 17:46:12 +0200 Subject: [PATCH] Updates the documentation for the pybullet function rayTestBatch to include the numThreads parameter. --- examples/pybullet/pybullet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index e127b758c..b1673b6b5 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -9401,7 +9401,9 @@ static PyMethodDef SpamMethods[] = { {"rayTestBatch", (PyCFunction)pybullet_rayTestBatch, METH_VARARGS | METH_KEYWORDS, "Cast a batch of rays and return the result for each of the rays (first object hit, if any. or -1) " - "Takes two arguments (list of from_positions [x,y,z] and a list of to_positions [x,y,z] in Cartesian world coordinates"}, + "Takes two arguments (list of from_positions [x,y,z] and a list of to_positions [x,y,z] in Cartesian world coordinates) " + "along with an optional argument numThreads to specify the number of threads to use to compute the ray intersections. " + "Specify 0 to let Bullet decide, 1 (default) for single core execution, 2 or more to select the number of threads to use."}, { "loadPlugin", (PyCFunction)pybullet_loadPlugin, METH_VARARGS | METH_KEYWORDS, "Load a plugin, could implement custom commands etc." },