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:
authorCampbell Barton <ideasman42@gmail.com>2012-08-13 01:46:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-13 01:46:35 +0400
commitcfb160c764b2bc65755b73ca42a60f7a5572e4f3 (patch)
treee2e3b77c1c25cede3568e8c97c1e08814fa248ad /source/blender/windowmanager/WM_types.h
parent3c2b4107dee8efe3888bf7d03d64e2970db72676 (diff)
style cleanup
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index 8d7dc21d95b..91f93828235 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -454,28 +454,28 @@ typedef struct wmTabletData {
typedef enum { /* motion progress, for modal handlers */
P_NOT_STARTED,
- P_STARTING, // <--
- P_IN_PROGRESS, // <-- only these are sent for NDOF motion
- P_FINISHING, // <--
+ P_STARTING, /* <-- */
+ P_IN_PROGRESS, /* <-- only these are sent for NDOF motion*/
+ P_FINISHING, /* <-- */
P_FINISHED
- } wmProgress;
+} wmProgress;
typedef struct wmNDOFMotionData {
/* awfully similar to GHOST_TEventNDOFMotionData... */
- // Each component normally ranges from -1 to +1, but can exceed that.
- // These use blender standard view coordinates, with positive rotations being CCW about the axis.
+ /* Each component normally ranges from -1 to +1, but can exceed that.
+ * These use blender standard view coordinates, with positive rotations being CCW about the axis. */
union {
- float tvec[3]; // translation
+ float tvec[3]; /* translation */
struct { float tx, ty, tz; };
- };
+ };
union {
- float rvec[3]; // rotation:
+ float rvec[3]; /* rotation: */
struct { float rx, ry, rz; };
- };
- // axis = (rx,ry,rz).normalized
- // amount = (rx,ry,rz).magnitude [in revolutions, 1.0 = 360 deg]
- float dt; // time since previous NDOF Motion event
- wmProgress progress; // is this the first event, the last, or one of many in between?
+ };
+ /* axis = (rx,ry,rz).normalized */
+ /* amount = (rx,ry,rz).magnitude [in revolutions, 1.0 = 360 deg] */
+ float dt; /* time since previous NDOF Motion event */
+ wmProgress progress; /* is this the first event, the last, or one of many in between? */
} wmNDOFMotionData;
typedef struct wmTimer {