~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/blender/include/BIF_transform.h

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BIF_transform.h 14444 2008-04-16 22:40:48Z hos $
 
2
 * $Id: BIF_transform.h 19305 2009-03-16 02:55:42Z theeth $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
86
86
struct ScrArea;
87
87
struct Base;
88
88
struct Scene;
 
89
struct Object;
89
90
 
90
91
struct TransInfo * BIF_GetTransInfo(void);
91
92
void BIF_setSingleAxisConstraint(float vec[3], char *text);
125
126
int BIF_do_manipulator(struct ScrArea *sa);
126
127
void BIF_draw_manipulator(struct ScrArea *sa);
127
128
 
 
129
/* Snapping */
 
130
 
 
131
 
 
132
typedef struct DepthPeel
 
133
{
 
134
        struct DepthPeel *next, *prev;
 
135
        
 
136
        float depth;
 
137
        float p[3];
 
138
        float no[3];
 
139
        struct Object *ob;
 
140
        int flag;
 
141
} DepthPeel;
 
142
 
 
143
struct ListBase;
 
144
 
 
145
typedef enum SnapMode
 
146
{
 
147
        NOT_SELECTED = 0,
 
148
        NOT_ACTIVE = 1
 
149
} SnapMode;
 
150
 
 
151
#define SNAP_MIN_DISTANCE 30
 
152
 
 
153
int snapObjects(int *dist, float *loc, float *no, SnapMode mode);
 
154
int peelObjects(struct ListBase *depth_peels, short mval[2]);
 
155
 
128
156
#endif
129
157