aboutsummaryrefslogtreecommitdiff
path: root/test.c
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-03-20 15:52:23 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-03-20 16:09:07 -0600
commit8d269a56805d4abd3f912b789cbd9b3b3f8925c0 (patch)
tree5b666bc90649def4c05338b96dd66b1beefba724 /test.c
parent8ec5d7facc76e05859444335adbdbfd2bbbad852 (diff)
downloadlibsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.gz
libsurvive-8d269a56805d4abd3f912b789cbd9b3b3f8925c0.tar.bz2
Added functionality to standardize where found lighthouses go
Diffstat (limited to 'test.c')
-rw-r--r--test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test.c b/test.c
index ea60a14..8e620bc 100644
--- a/test.c
+++ b/test.c
@@ -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]);