From 55cedfc6a6b035d6eb54457782818fef61cae500 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sat, 25 Feb 2017 23:52:48 -0500 Subject: Huge shift: Put HTC vive into its own file, to free up the rest of the system for libsurvive. --- src/survive_cal_lhfind.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/survive_cal_lhfind.c') 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; -- cgit v1.2.3