Math Lib: name signed versions of dist_to_plane_v3 explicitly

also add unsigned versions
This commit is contained in:
2014-08-13 14:34:58 +10:00
parent 3e90d7971a
commit 3529913629
6 changed files with 26 additions and 11 deletions

View File

@@ -1082,7 +1082,7 @@ static PyObject *M_Geometry_distance_point_to_plane(PyObject *UNUSED(self), PyOb
}
plane_from_point_normal_v3(plane, plane_co->vec, plane_no->vec);
return PyFloat_FromDouble(dist_to_plane_v3(pt->vec, plane));
return PyFloat_FromDouble(dist_signed_to_plane_v3(pt->vec, plane));
}
PyDoc_STRVAR(M_Geometry_barycentric_transform_doc,