aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-03-14 23:54:14 -0400
committercnlohr <lohr85@gmail.com>2018-03-14 23:54:14 -0400
commit61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032 (patch)
treed5e4efd164d0001bb2545a2ff829c2ab201c0296 /include/libsurvive/survive.h
parent3681b5df3cf518b0ded815d93cb45b176aea7440 (diff)
downloadlibsurvive-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 'include/libsurvive/survive.h')
-rw-r--r--include/libsurvive/survive.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index 03a71bc..7a0ed1e 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -37,8 +37,8 @@ struct SurviveObject
PoserCB PoserFn;
//Device-specific information about the location of the sensors. This data will be used by the poser.
- int8_t nr_locations; // sensor count
- FLT * sensor_locations; // size is nr_locations*3. Contains x,y,z values for each sensor
+ int8_t sensor_ct; // sensor count
+ FLT * sensor_locations; // size is sensor_ct*3. Contains x,y,z values for each sensor
FLT * sensor_normals;// size is nrlocations*3. cointains normal vector for each sensor
//Timing sensitive data (mostly for disambiguation)