[Bf-blender-cvs] [74d6f31] master: Updated a few comments.

Lukas Tönne noreply at git.blender.org
Tue Jan 20 09:52:30 CET 2015


Commit: 74d6f31879f9efedd79b60392e7345f14efd94d7
Author: Lukas Tönne
Date:   Thu Nov 6 15:08:25 2014 +0100
Branches: master
https://developer.blender.org/rB74d6f31879f9efedd79b60392e7345f14efd94d7

Updated a few comments.

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

M	source/blender/physics/intern/hair_volume.cpp

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

diff --git a/source/blender/physics/intern/hair_volume.cpp b/source/blender/physics/intern/hair_volume.cpp
index 23abe91..cda5694 100644
--- a/source/blender/physics/intern/hair_volume.cpp
+++ b/source/blender/physics/intern/hair_volume.cpp
@@ -55,15 +55,9 @@
 /* Note about array indexing:
  * Generally the arrays here are one-dimensional.
  * The relation between 3D indices and the array offset is
- *   offset = x + res_x * y + res_y * z
+ *   offset = x + res_x * y + res_x * res_y * z
  */
 
-/* TODO: This is an initial implementation and should be made much better in due time.
- * What should at least be implemented is a grid size parameter and a smoothing kernel
- * for bigger grids.
- */
-
-
 static float I[3][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}};
 
 BLI_INLINE int hair_grid_size(const int res[3])




More information about the Bf-blender-cvs mailing list