aboutsummaryrefslogtreecommitdiff
path: root/include/libsurvive/survive.h
diff options
context:
space:
mode:
authorMichael Turvey <mwturvey@users.noreply.github.com>2017-03-26 11:53:16 -0700
committerGitHub <noreply@github.com>2017-03-26 11:53:16 -0700
commit01c05b1a4df2dd85d9cafb4290616ecfe21304f4 (patch)
tree149c6be1140118b4cdbe72ccfee032b975be7195 /include/libsurvive/survive.h
parentb795afd28b7f7e2c1b9ca3f01e9f5ffeb1c75be8 (diff)
parent51b8cf7083d712eac730fe90f383abfabc7f2676 (diff)
downloadlibsurvive-01c05b1a4df2dd85d9cafb4290616ecfe21304f4.tar.gz
libsurvive-01c05b1a4df2dd85d9cafb4290616ecfe21304f4.tar.bz2
Merge pull request #44 from mwturvey/AddingPosers
Adding posers
Diffstat (limited to 'include/libsurvive/survive.h')
-rw-r--r--include/libsurvive/survive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libsurvive/survive.h b/include/libsurvive/survive.h
index e13312d..278bbca 100644
--- a/include/libsurvive/survive.h
+++ b/include/libsurvive/survive.h
@@ -32,9 +32,9 @@ 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;
- FLT * sensor_locations;
- FLT * sensor_normals;
+ int8_t nr_locations; // sensor count
+ FLT * sensor_locations; // size is nr_locations*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)
int32_t timebase_hz; //48,000,000 for normal vive hardware. (checked)