diff options
author | cnlohr <lohr85@gmail.com> | 2018-03-14 23:54:14 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2018-03-14 23:54:14 -0400 |
commit | 61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032 (patch) | |
tree | d5e4efd164d0001bb2545a2ff829c2ab201c0296 /src/poser_charlesslow.c | |
parent | 3681b5df3cf518b0ded815d93cb45b176aea7440 (diff) | |
download | libsurvive-61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032.tar.gz libsurvive-61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032.tar.bz2 |
rename nr_locations to sensor_ct
Also, make it easier to see edges in calibrate.
Diffstat (limited to 'src/poser_charlesslow.c')
-rw-r--r-- | src/poser_charlesslow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poser_charlesslow.c b/src/poser_charlesslow.c index 0839d59..3b781f4 100644 --- a/src/poser_charlesslow.c +++ b/src/poser_charlesslow.c @@ -48,7 +48,7 @@ int PoserCharlesSlow( SurviveObject * so, PoserData * pd ) int p; FLT * hmd_points = so->sensor_locations; - for( p = 0; p < so->nr_locations; p++ ) + for( p = 0; p < so->sensor_ct; p++ ) { printf( "%f %f %f\n", hmd_points[p*3+0], hmd_points[p*3+1], hmd_points[p*3+2] ); } @@ -225,7 +225,7 @@ static FLT RunOpti( SurviveObject * hmd, PoserDataFullScene * fs, int lh, int pr quatsetnone( LighthouseQuat ); FLT * hmd_points = hmd->sensor_locations; FLT * hmd_normals = hmd->sensor_normals; - int dpts = hmd->nr_locations; + int dpts = hmd->sensor_ct; int first = 1, second = 0; |