diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 17:45:35 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-06-24 17:45:35 +0400 |
commit | 1a55b53375cf45481e3916d9d3a96c7ce4204e73 (patch) | |
tree | e087353ec83945db6a9ee807745b4390a0b0d8ca /source/blender/makesdna | |
parent | c42c9cb234524fcde6248df686d359c2fa827fcd (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')
-rw-r--r-- | source/blender/makesdna/DNA_lattice_types.h | 2 |
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 |