projects
/
blender.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Code cleanup: use 'const' for arrays (python)
[blender.git]
/
source
/
blender
/
python
/
mathutils
/
mathutils_geometry.c
diff --git
a/source/blender/python/mathutils/mathutils_geometry.c
b/source/blender/python/mathutils/mathutils_geometry.c
index 142e5cadfd1a1a7f0a9a87e8ea31247aefd2b4e8..139764abb00a6dd50627f4f9d9a84930738c473e 100644
(file)
--- a/
source/blender/python/mathutils/mathutils_geometry.c
+++ b/
source/blender/python/mathutils/mathutils_geometry.c
@@
-269,7
+269,7
@@
static PyObject *M_Geometry_intersect_sphere_sphere_2d(PyObject *UNUSED(self), P
{
PyObject *ret;
VectorObject *vec_a, *vec_b;
- float *v_a, *v_b;
+
const
float *v_a, *v_b;
float rad_a, rad_b;
float v_ab[2];
float dist;