diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 08:32:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-09 08:41:54 +0400 |
commit | 5bd9730b17658ad4d4b0009a328545409a3c2bc1 (patch) | |
tree | 5469321574c91fb32073c6803fd9f41a331c3dc3 /source/blender/blenkernel/BKE_lattice.h | |
parent | b38f645bf1b7b69cff98547abdeaf1b037012d39 (diff) |
Lattice API: add BKE_lattice_index_flip, BKE_lattice_bitmap_from_flag
Diffstat (limited to 'source/blender/blenkernel/BKE_lattice.h')
-rw-r--r-- | source/blender/blenkernel/BKE_lattice.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_lattice.h b/source/blender/blenkernel/BKE_lattice.h index ba33da7729c..7806c4a94a1 100644 --- a/source/blender/blenkernel/BKE_lattice.h +++ b/source/blender/blenkernel/BKE_lattice.h @@ -89,6 +89,10 @@ void BKE_lattice_translate(struct Lattice *lt, float offset[3], int do_keys); int BKE_lattice_index_from_uvw(struct Lattice *lt, const int u, const int v, const int w); void BKE_lattice_index_to_uvw(struct Lattice *lt, const int index, int *r_u, int *r_v, int *r_w); +int BKE_lattice_index_flip(struct Lattice *lt, const int index, + const bool flip_u, const bool flip_v, const bool flip_w); +void BKE_lattice_bitmap_from_flag(struct Lattice *lt, unsigned int *bitmap, const short flag, + const bool clear, const bool respecthide); #endif |