aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Turvey <mturvey6@gmail.com>2017-06-01 10:58:00 -0700
committerMike Turvey <mturvey6@gmail.com>2017-06-01 10:58:00 -0700
commitd28f6fd44e2d22d8fb9ad4a18dfaad7677ad465d (patch)
treedeac7c2ce7f5d3e5ec50777ef447258ea6995f01 /src
parent5c6d30471e789b975a3eceab05d8e68dbaec0533 (diff)
downloadlibsurvive-d28f6fd44e2d22d8fb9ad4a18dfaad7677ad465d.tar.gz
libsurvive-d28f6fd44e2d22d8fb9ad4a18dfaad7677ad465d.tar.bz2
Display Lighthouse Poses in calibrate.c
Diffstat (limited to 'src')
-rw-r--r--src/poser_turveytori.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poser_turveytori.c b/src/poser_turveytori.c
index 86b763b..3f0a0d5 100644
--- a/src/poser_turveytori.c
+++ b/src/poser_turveytori.c
@@ -1366,7 +1366,7 @@ static Point SolveForLighthouse(FLT posOut[3], FLT quatOut[4], TrackedObject *ob
wcPos[2] += so->ctx->bsd[lh].Pose.Pos[2];
FLT newOrientation[4];
- //quatrotateabout(newOrientation, rotQuat, so->ctx->bsd[lh].Pose.Rot); // turns the wrong way
+ quatrotateabout(newOrientation, rotQuat, so->ctx->bsd[lh].Pose.Rot); // turns the wrong way
//quatrotateabout(newOrientation, so->ctx->bsd[lh].Pose.Rot, rotQuat); // turns the wrong way
FLT invRot[4];
@@ -1382,7 +1382,7 @@ static Point SolveForLighthouse(FLT posOut[3], FLT quatOut[4], TrackedObject *ob
//FLT invRot[4];
//quatgetreciprocal(invRot, rotQuat);
- quatrotateabout(newOrientation, invRot, invPoseRot); // turns correctly, rotations aligned <-- This seems to be the best.
+ //quatrotateabout(newOrientation, invRot, invPoseRot); // turns correctly, rotations aligned <-- This seems to be the best.
//quatrotateabout(newOrientation, invPoseRot, invRot); // turns correctly, rotations aligned, (x & y flipped?)
so->OutPose.Pos[0] = wcPos[0];