From 93068f4a3299714daf9bef9f2d5c485e1e75a046 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 13 Apr 2013 05:57:43 +0200 Subject: Fix breakage --- facetracknoir/tracker_types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'facetracknoir') 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 -- cgit v1.2.3