diff options
author | Michael Turvey <mwturvey@users.noreply.github.com> | 2017-06-02 12:16:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 12:16:20 -0700 |
commit | e5a9bff729fb0c596daed5cdf45683e11c666766 (patch) | |
tree | f61ced92c7199e19bd518e5a42f7481f4cac3c11 | |
parent | 44c27fd97c58668af6a338be05237e6c352c9875 (diff) | |
parent | 4f4c994a3984f4b946664b923812e456685410ab (diff) | |
download | libsurvive-e5a9bff729fb0c596daed5cdf45683e11c666766.tar.gz libsurvive-e5a9bff729fb0c596daed5cdf45683e11c666766.tar.bz2 |
Merge pull request #80 from mwturvey/ToriiCleanup
Small change to orientation
-rw-r--r-- | src/poser_turveytori.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poser_turveytori.c b/src/poser_turveytori.c index ff7f47d..80e8d89 100644 --- a/src/poser_turveytori.c +++ b/src/poser_turveytori.c @@ -1366,8 +1366,8 @@ 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, so->ctx->bsd[lh].Pose.Rot, rotQuat); // 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]; quatgetreciprocal(invRot, rotQuat); |