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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-05 04:58:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-05 04:58:22 +0400
commit084fedd03a006982b386873a70f649627bf200aa (patch)
treec1934f9da2b2f9f7987104c7426d1ba2b11f0bb2 /source/blender/blenlib/BLI_voxel.h
parent4c5502bfd690cad5c02aa6a0be0bd59400ef3407 (diff)
code cleanup: brush/camera naming
Diffstat (limited to 'source/blender/blenlib/BLI_voxel.h')
-rw-r--r--source/blender/blenlib/BLI_voxel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_voxel.h b/source/blender/blenlib/BLI_voxel.h
index 4e9e6f111db..7b92ac05d29 100644
--- a/source/blender/blenlib/BLI_voxel.h
+++ b/source/blender/blenlib/BLI_voxel.h
@@ -33,7 +33,7 @@
*/
/** find the index number of a voxel, given x/y/z integer coords and resolution vector */
-#define BLI_VEXEL_INDEX(x, y, z, res) ((z) * (res)[1] * (res)[0] + (y) * (res)[0] + (x))
+#define BLI_VOXEL_INDEX(x, y, z, res) ((z) * (res)[1] * (res)[0] + (y) * (res)[0] + (x))
/* all input coordinates must be in bounding box 0.0 - 1.0 */
float BLI_voxel_sample_nearest(float *data, const int res[3], const float co[3]);