Commit: e10c28b25f0f8ad679ca2df8a2e8642756a03fa7
Author: Sebastian Parborg
Date:   Thu Jun 25 14:30:58 2020 +0200
Branches: particle-solver-dev
https://developer.blender.org/rBe10c28b25f0f8ad679ca2df8a2e8642756a03fa7

update comment

===================================================================

M       source/blender/simulations/bparticles/simulate.cpp

===================================================================

diff --git a/source/blender/simulations/bparticles/simulate.cpp 
b/source/blender/simulations/bparticles/simulate.cpp
index bbf7e41cd4a..a7d6ce4a289 100644
--- a/source/blender/simulations/bparticles/simulate.cpp
+++ b/source/blender/simulations/bparticles/simulate.cpp
@@ -85,7 +85,7 @@ static void calc_hit_point_data_tri(float co[3],
     // We are inside the triangle, use the triangle normal as this is more 
accurate than the
     // calulated one below.
     normal_tri_v3(no, v0, v1, v2);
-    // Make sure the normal is pointing in the right direction
+    // Make sure the normal is pointing in the right direction (out towards 
the particle)
     float3 point_vec;
     sub_v3_v3v3(point_vec, co, v0);
     if (dot_v3v3(no, point_vec) < 0.0f) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to