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>2013-06-24 17:45:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-24 17:45:35 +0400
commit1a55b53375cf45481e3916d9d3a96c7ce4204e73 (patch)
treee087353ec83945db6a9ee807745b4390a0b0d8ca /source/blender/makesdna/DNA_lattice_types.h
parentc42c9cb234524fcde6248df686d359c2fa827fcd (diff)
lattice: use functions rather then defines, also added a function to get uvw from an index.
- BKE_lattice_index_from_uvw() - BKE_lattice_index_to_uvw()
Diffstat (limited to 'source/blender/makesdna/DNA_lattice_types.h')
-rw-r--r--source/blender/makesdna/DNA_lattice_types.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_lattice_types.h b/source/blender/makesdna/DNA_lattice_types.h
index 500b4ab88c3..837f0c354e6 100644
--- a/source/blender/makesdna/DNA_lattice_types.h
+++ b/source/blender/makesdna/DNA_lattice_types.h
@@ -83,8 +83,6 @@ typedef struct Lattice {
#define LT_DS_EXPAND 4
-#define LT_INDEX(lt, u, v, w) ((w) * ((lt)->pntsu * (lt)->pntsv) + ((v) * (lt)->pntsu) + (u))
-
#define LT_ACTBP_NONE -1
#endif