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:
authorJiri Hnidek <jiri.hnidek@tul.cz>2003-09-05 17:54:22 +0400
committerJiri Hnidek <jiri.hnidek@tul.cz>2003-09-05 17:54:22 +0400
commit5d2f98f440f8ad6fbfb43e96a6db056853683110 (patch)
treeba4bc47a37b1da946aec7361050c666eaabf1ff1 /source/blender/makesdna/DNA_meta_types.h
parenta09e5a7f2f3ae81f504106eeb62373bb99b39b51 (diff)
- improved polygonization (linear interpolation) of Implicit Surfaces (Meta)
- added new MetaElem types (plane, elipsoid and cube) old TubeX, TubeY and TubeZ will not be supported - new buttons in Edit button window (dx, dy, dz) - added new items into the headers menu and toolbox menu more details at: http://blender.webpark.cz
Diffstat (limited to 'source/blender/makesdna/DNA_meta_types.h')
-rw-r--r--source/blender/makesdna/DNA_meta_types.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_meta_types.h b/source/blender/makesdna/DNA_meta_types.h
index b227655a893..6b1c7e97601 100644
--- a/source/blender/makesdna/DNA_meta_types.h
+++ b/source/blender/makesdna/DNA_meta_types.h
@@ -44,9 +44,12 @@ struct Material;
typedef struct MetaElem {
struct MetaElem *next, *prev;
-
+
+ struct BoundBox *bb; /* Bound Box of MetaElem */
+ int i1,j1,k1, i2,j2,k2; /* corners of Bounding Box in lattice */
+
short type, lay, flag, selcol;
- float x, y, z;
+ float x, y, z; /* Position of centre of MetaElem */
float expx, expy, expz;
float rad, rad2, s, len, maxrad2;
int pad;
@@ -89,7 +92,10 @@ typedef struct MetaBall {
#define MB_TUBEX 1
#define MB_TUBEY 2
#define MB_TUBEZ 3
-#define MB_CIRCLE 4
+#define MB_TUBE 4
+#define MB_PLANE 5
+#define MB_ELIPSOID 6
+#define MB_CUBE 7
/* ml->flag */
#define MB_NEGATIVE 2