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
path: root/source
diff options
context:
space:
mode:
authorSebastian Parborg <darkdefende@gmail.com>2020-06-25 15:30:58 +0300
committerSebastian Parborg <darkdefende@gmail.com>2020-06-25 15:30:58 +0300
commite10c28b25f0f8ad679ca2df8a2e8642756a03fa7 (patch)
tree6ad2f0cad5fc8bd6e5bea94d8a45247c3e6f824c /source
parentde0983f3c4780c2f1f48a7aa4b62622bec6d3952 (diff)
update comment
Diffstat (limited to 'source')
-rw-r--r--source/blender/simulations/bparticles/simulate.cpp2
1 files changed, 1 insertions, 1 deletions
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) {