summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'FTNoIR_Tracker_Base/ftnoir_tracker_base.h')
-rw-r--r--FTNoIR_Tracker_Base/ftnoir_tracker_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
index f06a726f..debd58e5 100644
--- a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
+++ b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h
@@ -39,6 +39,7 @@
#pragma pack(push, 2)
struct THeadPoseData {
double x, y, z, yaw, pitch, roll;
+ long frame_number;
};
#pragma pack(pop)
@@ -64,6 +65,7 @@ public:
position.yaw = 0.0f;
position.pitch = 0.0f;
position.roll = 0.0f;
+ position.frame_number = 0;
}
T6DOF operator-( T6DOF &other ) {
return T6DOF(position.x - other.position.x, position.y - other.position.y, position.z - other.position.z,