~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenlib/BLI_editVert.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * blenlib/BLI_editVert.h    mar 2001 Nzc
3
 
 *
4
 
 * Some editing types needed in the lib (unfortunately) for
5
 
 * scanfill.c
6
 
 *
7
 
 * $Id: BLI_editVert.h 26841 2010-02-12 13:34:04Z campbellbarton $
8
 
 *
 
1
/*
9
2
 * ***** BEGIN GPL LICENSE BLOCK *****
10
3
 *
11
4
 * This program is free software; you can redistribute it and/or
32
25
 * ***** END GPL LICENSE BLOCK *****
33
26
 */
34
27
 
35
 
#ifndef BLI_EDITVERT_H
36
 
#define BLI_EDITVERT_H
 
28
#ifndef __BLI_EDITVERT_H__
 
29
#define __BLI_EDITVERT_H__
 
30
 
 
31
/** \file BLI_editVert.h
 
32
 *  \ingroup bli
 
33
 *  \since March 2001
 
34
 *  \author nzc
 
35
 *  \brief Some editing types needed in the lib (unfortunately) for
 
36
 *   scanfill.c
 
37
 */
37
38
 
38
39
#include "DNA_customdata_types.h"
39
40
#include "DNA_mesh_types.h"
41
42
#include "BLO_sys_types.h" // for intptr_t support
42
43
 
43
44
struct DerivedMesh;
44
 
struct RetopoPaintData;
45
45
 
46
46
/* note; changing this also might affect the undo copy in editmesh.c */
47
47
typedef struct EditVert
57
57
                void            *p;
58
58
                intptr_t         l;
59
59
                float            fp;
 
60
                int                              t;
60
61
        } tmp;
61
62
        float no[3]; /*vertex normal */
62
63
        float co[3]; /*vertex location */
63
64
        short xs, ys; /* used to store a screenspace 2d projection of the verts */
64
65
        
65
66
        /* f stores selection eg. if (eve->f & SELECT) {...
66
 
        h for hidden. if (!eve->h) {...
67
 
        f1 and f2 can be used for temp data, clear them first*/
 
67
         * h for hidden. if (!eve->h) {...
 
68
         * f1 and f2 can be used for temp data, clear them first*/
68
69
        unsigned char f, h, f1, f2; 
69
70
        float bweight;
70
71
        short fast;     /* only 0 or 1, for editmesh_fastmalloc, do not store temp data here! */
71
 
        int hash;
 
72
        int hash;     /* internal editmesh.c use only, don't touch! */
72
73
        int keyindex; /* original index #, for restoring  key information */
73
74
 
74
75
        void *data;             /* custom vertex data */
182
183
         */
183
184
        int lastDataMask;
184
185
 
185
 
        struct RetopoPaintData *retopo_paint_data;
186
 
 
187
186
        CustomData vdata, edata, fdata;
188
187
 
189
188
} EditMesh;