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/intern/voxel.c
parent4c5502bfd690cad5c02aa6a0be0bd59400ef3407 (diff)
code cleanup: brush/camera naming
Diffstat (limited to 'source/blender/blenlib/intern/voxel.c')
-rw-r--r--source/blender/blenlib/intern/voxel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/voxel.c b/source/blender/blenlib/intern/voxel.c
index 1fe42384eb6..3ad9edd14a3 100644
--- a/source/blender/blenlib/intern/voxel.c
+++ b/source/blender/blenlib/intern/voxel.c
@@ -40,7 +40,7 @@ BLI_INLINE float D(float *data, const int res[3], int x, int y, int z)
CLAMP(x, 0, res[0] - 1);
CLAMP(y, 0, res[1] - 1);
CLAMP(z, 0, res[2] - 1);
- return data[ BLI_VEXEL_INDEX(x, y, z, res) ];
+ return data[ BLI_VOXEL_INDEX(x, y, z, res) ];
}
/* *** nearest neighbor *** */