aboutsummaryrefslogtreecommitdiff
path: root/src/survive_cal.h
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-03-11 22:45:31 -0500
committercnlohr <lohr85@gmail.com>2017-03-11 22:45:31 -0500
commitdde0e82eb7a5a5500e27071e344e8afe4e336049 (patch)
tree6a8b6d97244d16db9c95231e1fbfa057070b6f31 /src/survive_cal.h
parenta96dd89c915b5721ed3ce9d41a1d2388651e9ce7 (diff)
downloadlibsurvive-dde0e82eb7a5a5500e27071e344e8afe4e336049.tar.gz
libsurvive-dde0e82eb7a5a5500e27071e344e8afe4e336049.tar.bz2
Update with almost working poser information stuff. This has been long stream to live. Goobye.
Diffstat (limited to 'src/survive_cal.h')
-rw-r--r--src/survive_cal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/survive_cal.h b/src/survive_cal.h
index dd2a1e2..d21ba36 100644
--- a/src/survive_cal.h
+++ b/src/survive_cal.h
@@ -33,7 +33,7 @@ void survive_cal_light( SurviveObject * so, int sensor_id, int acode, int timein
void survive_cal_angle( SurviveObject * so, int sensor_id, int acode, uint32_t timecode, FLT length, FLT angle );
#define MAX_SENSORS_TO_CAL 96
-#define DRPTS 1024
+#define DRPTS 128
#define MAX_CAL_PT_DAT (MAX_SENSORS_TO_CAL*NUM_LIGHTHOUSES*2)
struct SurviveCalData
{
@@ -61,6 +61,8 @@ struct SurviveCalData
SurviveObject * hmd;
+ PoserCB ConfigPoserFn;
+
//Stage:
// 0: Idle
// 1: Collecting OOTX data.