t/c/builder_lighthouse: Set camera orientation correctly

This commit is contained in:
Moses Turner 2022-09-16 17:24:03 -05:00 committed by Jakob Bornecrantz
parent b735d99569
commit 0ddf3e0e19

View file

@ -188,7 +188,12 @@ valve_index_hand_track(struct lighthouse_system *lhs,
LH_ASSERT_(stereo_calib != NULL);
struct t_camera_extra_info info;
// zero-initialized out of paranoia
struct t_camera_extra_info info = {0};
info.views[0].camera_orientation = CAMERA_ORIENTATION_0;
info.views[1].camera_orientation = CAMERA_ORIENTATION_0;
info.views[0].boundary_type = HT_IMAGE_BOUNDARY_CIRCLE;
info.views[1].boundary_type = HT_IMAGE_BOUNDARY_CIRCLE;