diff options
author | ultramn <dchapm2@umbc.edu> | 2017-02-19 11:02:20 -0800 |
---|---|---|
committer | ultramn <dchapm2@umbc.edu> | 2017-02-19 11:02:20 -0800 |
commit | 771ca61466c7b510d42bade3a8b607fabac49c32 (patch) | |
tree | f45cab2bb491a206cebb6c6c75fd86d478a9ad53 /tools/lighthousefind_tori/main.c | |
parent | e593db4c3a3575f826682d5eb9e402372aa1ba98 (diff) | |
parent | bd89d46cb01f7069166e85f017f169e07acc7094 (diff) | |
download | libsurvive-771ca61466c7b510d42bade3a8b607fabac49c32.tar.gz libsurvive-771ca61466c7b510d42bade3a8b607fabac49c32.tar.bz2 |
plot_lighthouse/Makefile
Diffstat (limited to 'tools/lighthousefind_tori/main.c')
-rw-r--r-- | tools/lighthousefind_tori/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lighthousefind_tori/main.c b/tools/lighthousefind_tori/main.c index aa51448..ee56b37 100644 --- a/tools/lighthousefind_tori/main.c +++ b/tools/lighthousefind_tori/main.c @@ -51,6 +51,9 @@ static void runTheNumbers() to->sensor[sensorCount].point.x = hmd_points[i * 3 + 0]; to->sensor[sensorCount].point.y = hmd_points[i * 3 + 1]; to->sensor[sensorCount].point.z = hmd_points[i * 3 + 2]; + to->sensor[sensorCount].normal.x = hmd_norms[i * 3 + 0]; + to->sensor[sensorCount].normal.y = hmd_norms[i * 3 + 1]; + to->sensor[sensorCount].normal.z = hmd_norms[i * 3 + 2]; to->sensor[sensorCount].theta = hmd_point_angles[i * 2 + 0] + LINMATHPI / 2; to->sensor[sensorCount].phi = hmd_point_angles[i * 2 + 1] + LINMATHPI / 2; sensorCount++; |