diff options
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/tracker_types.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/facetracknoir/tracker_types.h b/facetracknoir/tracker_types.h index a367371e..043c0420 100644 --- a/facetracknoir/tracker_types.h +++ b/facetracknoir/tracker_types.h @@ -7,10 +7,7 @@ struct T6DOF { public: double axes[6]; - T6DOF() { - for (int i = 0; i < 6; i++) - axes[i] = 0; - } + T6DOF() : axes {0,0,0, 0,0,0 } {} }; T6DOF operator-(const T6DOF& A, const T6DOF& B); // get new pose with respect to reference pose B |