diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-09 12:01:44 +0300 |
commit | 9e365069afe156f33fadfad9705e1325f894cd54 (patch) | |
tree | 78373044d029feb51f987b45208e0c1a36958625 /source/blender/blenlib/BLI_voxel.h | |
parent | d8b42751625c915113b64f5a2d9c72f19f009fee (diff) |
Cleanup: move public doc-strings into headers for 'blenlib'
- Added space below non doc-string comments to make it clear
these aren't comments for the symbols directly below them.
- Use doxy sections for some headers.
- Minor improvements to doc-strings.
Ref T92709
Diffstat (limited to 'source/blender/blenlib/BLI_voxel.h')
-rw-r--r-- | source/blender/blenlib/BLI_voxel.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_voxel.h b/source/blender/blenlib/BLI_voxel.h index eb84f0a27ee..83e4bdbdc10 100644 --- a/source/blender/blenlib/BLI_voxel.h +++ b/source/blender/blenlib/BLI_voxel.h @@ -27,13 +27,13 @@ extern "C" { #endif -/** Find the index number of a voxel, given x/y/z integer coords and resolution vector. */ - +/** Calculate the index number of a voxel, given x/y/z integer coords and resolution vector. */ #define BLI_VOXEL_INDEX(x, y, z, res) \ ((int64_t)(x) + (int64_t)(y) * (int64_t)(res)[0] + \ (int64_t)(z) * (int64_t)(res)[0] * (int64_t)(res)[1]) -/* all input coordinates must be in bounding box 0.0 - 1.0 */ +/* All input coordinates must be in bounding box 0.0 - 1.0. */ + float BLI_voxel_sample_nearest(const float *data, const int res[3], const float co[3]); float BLI_voxel_sample_trilinear(const float *data, const int res[3], const float co[3]); float BLI_voxel_sample_triquadratic(const float *data, const int res[3], const float co[3]); |