aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/poser.h
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-03 15:11:12 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-03 17:01:14 -0600
commit18b20af7195b94889924156de2b4aa704b2c7391 (patch)
tree0eb3e3ab817341595167a949f67d5c0ba1dd879f /include/libsurvive/poser.h
parentd3d159772f1684082d7a545fbb3028d98d803308 (diff)
downloadlibsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.gz
libsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.bz2
Refactor pose function to get timecode and not lh
Diffstat (limited to 'include/libsurvive/poser.h')
-rw-r--r--include/libsurvive/poser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libsurvive/poser.h b/include/libsurvive/poser.h
index dcd0e93..4cddf89 100644
--- a/include/libsurvive/poser.h
+++ b/include/libsurvive/poser.h
@@ -18,14 +18,14 @@ typedef enum PoserType_t {
POSERDATA_SYNC, // Sync pulse.
} PoserType;
-typedef void (*poser_raw_pose_func)(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose, void *user);
+typedef void (*poser_pose_func)(SurviveObject *so, uint32_t lighthouse, SurvivePose *pose, void *user);
typedef void (*poser_lighthouse_pose_func)(SurviveObject *so, uint8_t lighthouse, SurvivePose *lighthouse_pose,
SurvivePose *object_pose, void *user);
typedef struct
{
PoserType pt;
- poser_raw_pose_func rawposeproc;
+ poser_pose_func poseproc;
poser_lighthouse_pose_func lighthouseposeproc;
void *userdata;
} PoserData;
@@ -41,7 +41,7 @@ typedef struct
* @param pose The actual object pose. This is in world space, not in LH space. It must represent a transformation from
* object space of the SO to global space.
*/
-void PoserData_poser_raw_pose_func(PoserData *poser_data, SurviveObject *so, uint8_t lighthouse, SurvivePose *pose);
+void PoserData_poser_pose_func(PoserData *poser_data, SurviveObject *so, SurvivePose *pose);
/**
* Meant to be used by individual posers to report back their findings on the pose of a lighthouse.