diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-11-06 17:08:25 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:06 +0300 |
commit | 74d6f31879f9efedd79b60392e7345f14efd94d7 (patch) | |
tree | fbfd76fa7918af54f4ed05973afafcab97204863 /source/blender/physics | |
parent | 9cd8e9f146b373e17d36d9ba8b82d2f7f6ec919c (diff) |
Updated a few comments.
Diffstat (limited to 'source/blender/physics')
-rw-r--r-- | source/blender/physics/intern/hair_volume.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/physics/intern/hair_volume.cpp b/source/blender/physics/intern/hair_volume.cpp index 23abe917935..cda56946345 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]) |