summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
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