diff options
Diffstat (limited to 'source/blender/simulation/intern/hair_volume.cpp')
-rw-r--r-- | source/blender/simulation/intern/hair_volume.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/simulation/intern/hair_volume.cpp b/source/blender/simulation/intern/hair_volume.cpp index 348c8683be9..e47593eda05 100644 --- a/source/blender/simulation/intern/hair_volume.cpp +++ b/source/blender/simulation/intern/hair_volume.cpp @@ -633,9 +633,6 @@ BLI_INLINE void hair_volume_eval_grid_vertex_sample(HairGridVert *vert, } } -/* XXX simplified test implementation using a series of discrete sample along the segment, - * instead of finding the closest point for all affected grid vertices. - */ void SIM_hair_volume_add_segment(HairGrid *grid, const float UNUSED(x1[3]), const float UNUSED(v1[3]), @@ -649,6 +646,9 @@ void SIM_hair_volume_add_segment(HairGrid *grid, const float UNUSED(dir2[3]), const float UNUSED(dir3[3])) { + /* XXX simplified test implementation using a series of discrete sample along the segment, + * instead of finding the closest point for all affected grid vertices. */ + const float radius = 1.5f; const float dist_scale = grid->inv_cellsize; |