From 1a55b53375cf45481e3916d9d3a96c7ce4204e73 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 24 Jun 2013 13:45:35 +0000 Subject: 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() --- source/blender/makesdna/DNA_lattice_types.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/makesdna') 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 -- cgit v1.2.3