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:
authorJean-Luc Peurière <jlp@nerim.net>2007-06-03 01:42:54 +0400
committerJean-Luc Peurière <jlp@nerim.net>2007-06-03 01:42:54 +0400
commit6cc1269d976641e6fdac59d1c1afbc96ae3aab8b (patch)
tree02bc32f07419e48a1492bc09609d5186fc095df6 /intern/ghost/GHOST_Types.h
parent16340dfe1235391bb675a633a099c17af3a731c7 (diff)
parentc6158b9293d6c5ea15c323fea44138d3563d1a12 (diff)
merge from trunk up to rev [10858]
WIP in the NDOF part, dont work yet
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r--intern/ghost/GHOST_Types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h
index c0f7245eff1..f8f9a8d4735 100644
--- a/intern/ghost/GHOST_Types.h
+++ b/intern/ghost/GHOST_Types.h
@@ -343,6 +343,7 @@ typedef void (*GHOST_NDOFLibraryShutdown_fp)(void* deviceHandle);
typedef void* (*GHOST_NDOFDeviceOpen_fp)(void* platformData);
typedef int (*GHOST_NDOFEventHandler_fp)(float* result7, void* deviceHandle, unsigned int message, unsigned int* wParam, unsigned long* lParam);
+/* original patch used floats, but the driver return ints and uns. We will calibrate in view, no sense on doing conversions twice */
typedef struct {
/** N-degree of freedom device data */
float tx, ty, tz; /** -x left, +y up, +z forward */