summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:57:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 05:57:43 +0200
commit93068f4a3299714daf9bef9f2d5c485e1e75a046 (patch)
tree3d89e78bd77db7840cd4748459050de3d585604d /facetracknoir
parent46534687e13f55d15ac2fa076c921fbab313d92b (diff)
Fix breakage
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/tracker_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/facetracknoir/tracker_types.h b/facetracknoir/tracker_types.h
index 94d96de5..d77a0b87 100644
--- a/facetracknoir/tracker_types.h
+++ b/facetracknoir/tracker_types.h
@@ -33,6 +33,11 @@
struct T6DOF {
public:
double axes[6];
+
+ T6DOF() {
+ for (int i = 0; i < 6; i++)
+ axes[i] = 0;
+ }
};
T6DOF operator-(const T6DOF& A, const T6DOF& B); // get new pose with respect to reference pose B