Using term 'origin' for mathutils.bvhtree docs

Matches rna ray-cast API
This commit is contained in:
Campbell Barton 2015-12-02 19:25:08 +11:00
parent 90b83a806a
commit aed5347b4c

@ -328,7 +328,7 @@ static void py_bvhtree_nearest_point_cb(void *userdata, int index, const float c
}
PyDoc_STRVAR(py_bvhtree_ray_cast_doc,
".. method:: ray_cast(co, direction, distance=sys.float_info.max)\n"
".. method:: ray_cast(origin, direction, distance=sys.float_info.max)\n"
"\n"
" Cast a ray onto the mesh.\n"
"\n"
@ -383,7 +383,7 @@ static PyObject *py_bvhtree_ray_cast(PyBVHTree *self, PyObject *args)
}
PyDoc_STRVAR(py_bvhtree_find_nearest_doc,
".. method:: find_nearest(co, distance=" PYBVH_MAX_DIST_STR ")\n"
".. method:: find_nearest(origin, distance=" PYBVH_MAX_DIST_STR ")\n"
"\n"
" Find the nearest element to a point.\n"
"\n"