aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal_lhfind.c
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-27 21:30:44 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-27 21:30:44 -0500
commit711a55ec79fefbefdc3527c89742acf622aaec3c (patch)
treef087cb3e592aa5cabc5c7b3d281260f4657ad671 /src/survive_cal_lhfind.c
parente8d696e03128242be33eb0734addee645e894635 (diff)
parent51751d4a9f407f526de2b626d44e14690fbef004 (diff)
downloadlibsurvive-711a55ec79fefbefdc3527c89742acf622aaec3c.tar.gz
libsurvive-711a55ec79fefbefdc3527c89742acf622aaec3c.tar.bz2
Merge branch 'master' of github.com:cnlohr/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;