aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal_lhfind.c
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-02-25 23:52:48 -0500
committercnlohr <lohr85@gmail.com>2017-02-25 23:52:48 -0500
commit55cedfc6a6b035d6eb54457782818fef61cae500 (patch)
treeca11020aeb8970830a6f52ada199767686078fd4 /src/survive_cal_lhfind.c
parentf92f5dc93cbb53a99da51984541a7e4a70605639 (diff)
downloadlibsurvive-55cedfc6a6b035d6eb54457782818fef61cae500.tar.gz
libsurvive-55cedfc6a6b035d6eb54457782818fef61cae500.tar.bz2
Huge shift: Put HTC vive into its own file, to free up the rest of the system for libsurvive.
Diffstat (limited to 'src/survive_cal_lhfind.c')
-rw-r--r--src/survive_cal_lhfind.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/survive_cal_lhfind.c b/src/survive_cal_lhfind.c
index 19f732f..e1e5fc9 100644
--- a/src/survive_cal_lhfind.c
+++ b/src/survive_cal_lhfind.c
@@ -156,8 +156,9 @@ static FLT RunOpti( struct SurviveCalData * cd, int lh, int print, FLT * Lightho
FLT LastUsToTarget[3];
FLT mux = .9;
quatsetnone( LighthouseQuat );
- FLT * hmd_points = cd->ctx->headset.sensor_locations;
- FLT * hmd_normals = cd->ctx->headset.sensor_normals;
+ struct SurviveObject * hmd = cd->hmd;
+ FLT * hmd_points = hmd->sensor_locations;
+ FLT * hmd_normals = hmd->sensor_normals;
int first = 1, second = 0;