Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-02-15 17:30:17 +0300
committerJacques Lucke <jacques@blender.org>2021-02-15 17:30:17 +0300
commitd3960164163c910d5031a8f076c41b39e0a5503d (patch)
tree2931c76ced3945e8f06c9c163cba37b69d06f640 /source/blender/blenlib/intern/mesh_boolean.cc
parentb55e7e489504f43076eec423bc8dfb7efbeb4fac (diff)
Cleanup: clang tidy
Diffstat (limited to 'source/blender/blenlib/intern/mesh_boolean.cc')
-rw-r--r--source/blender/blenlib/intern/mesh_boolean.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/mesh_boolean.cc b/source/blender/blenlib/intern/mesh_boolean.cc
index 6ca5be743f0..bfc1e4b01d3 100644
--- a/source/blender/blenlib/intern/mesh_boolean.cc
+++ b/source/blender/blenlib/intern/mesh_boolean.cc
@@ -2385,7 +2385,7 @@ static void inside_shape_callback(void *userdata,
std::cout << " fv2=(" << fv2[0] << "," << fv2[1] << "," << fv2[2] << ")\n";
}
if (isect_ray_tri_epsilon_v3(
- ray->origin, ray->direction, fv0, fv1, fv2, &dist, NULL, FLT_EPSILON)) {
+ ray->origin, ray->direction, fv0, fv1, fv2, &dist, nullptr, FLT_EPSILON)) {
/* Count parity as +1 if ray is in the same direction as tri's normal,
* and -1 if the directions are opposite. */
double3 o_db{double(ray->origin[0]), double(ray->origin[1]), double(ray->origin[2])};