~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/makesdna/DNA_meshdata_types.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: DNA_meshdata_types.h,v 1.1 2004/03/20 22:55:38 zuster Exp $ 
 
2
 * $Id: DNA_meshdata_types.h,v 1.7 2004/09/24 12:58:21 ton Exp $ 
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
40
40
        char edcode, flag;
41
41
} MFace;
42
42
 
 
43
typedef struct MEdge {
 
44
        unsigned int v1, v2;
 
45
        char crease, pad;
 
46
        short flag;
 
47
} MEdge;
 
48
 
43
49
typedef struct MDeformWeight {
44
50
        int                             def_nr;
45
51
        float                   weight;
66
72
        float co[2];
67
73
} MSticky;
68
74
 
 
75
/* mvert->flag (1=SELECT) */
 
76
#define ME_SPHERETEST   2
 
77
#define ME_SPHERETEMP   4
 
78
#define ME_HIDE                 16
 
79
 
 
80
/* medge->flag (1=SELECT)*/
 
81
#define ME_EDGEDRAW             2
 
82
#define ME_SEAM         4
 
83
#define ME_FGON                 8
 
84
                                                // reserve 16 for ME_HIDE
 
85
 
 
86
/* puno = vertexnormal (mface) */
 
87
#define ME_FLIPV1               1
 
88
#define ME_FLIPV2               2
 
89
#define ME_FLIPV3               4
 
90
#define ME_FLIPV4               8
 
91
#define ME_PROJXY               16
 
92
#define ME_PROJXZ               32
 
93
#define ME_PROJYZ               64
 
94
 
 
95
/* edcode (mface) */
 
96
#define ME_V1V2                 1
 
97
#define ME_V2V3                 2
 
98
#define ME_V3V1                 4
 
99
#define ME_V3V4                 4
 
100
#define ME_V4V1                 8
 
101
 
 
102
/* flag (mface) */
 
103
#define ME_SMOOTH               1
 
104
#define ME_FACE_SEL             2
 
105
                                                /* flag ME_HIDE is used here too */ 
 
106
 
 
107
 
69
108
#endif