diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-03-20 15:52:23 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-03-20 16:09:07 -0600 |
commit | 8d269a56805d4abd3f912b789cbd9b3b3f8925c0 (patch) | |
tree | 5b666bc90649def4c05338b96dd66b1beefba724 /test.c | |
parent | 8ec5d7facc76e05859444335adbdbfd2bbbad852 (diff) | |
download | libsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.gz libsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.bz2 |
Added functionality to standardize where found lighthouses go
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -84,8 +84,8 @@ void testprog_button_process(SurviveObject * so, uint8_t eventType, uint8_t butt } } -void testprog_lighthouse_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *pose) { - survive_default_lighthouse_pose_process(ctx, lighthouse, pose); +void testprog_lighthouse_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *pose, SurvivePose *obj_pose) { + survive_default_lighthouse_pose_process(ctx, lighthouse, pose, obj_pose); printf("Lighthouse: [%1.1x][% 08.8f,% 08.8f,% 08.8f] [% 08.8f,% 08.8f,% 08.8f,% 08.8f]\n", lighthouse, pose->Pos[0], pose->Pos[1], pose->Pos[2], pose->Rot[0], pose->Rot[1], pose->Rot[2], pose->Rot[3]); |