diff options
author | Josh Allen <axlecrusher@gmail.com> | 2017-02-27 21:30:44 -0500 |
---|---|---|
committer | Josh Allen <axlecrusher@gmail.com> | 2017-02-27 21:30:44 -0500 |
commit | 711a55ec79fefbefdc3527c89742acf622aaec3c (patch) | |
tree | f087cb3e592aa5cabc5c7b3d281260f4657ad671 /src/survive_cal_lhfind.c | |
parent | e8d696e03128242be33eb0734addee645e894635 (diff) | |
parent | 51751d4a9f407f526de2b626d44e14690fbef004 (diff) | |
download | libsurvive-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.c | 5 |
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; |