diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-17 03:10:31 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-09-17 03:10:31 +0200 |
commit | 46401fcd2e4e5437e74ca9fca04c7521432566aa (patch) | |
tree | 054eb8f3679322b6125bd5c7ecab605ad47fb960 | |
parent | 4be72d40c239ac35e6b974c389858226d860599d (diff) |
ctor brevity
-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 |