diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 15:11:12 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 17:01:14 -0600 |
commit | 18b20af7195b94889924156de2b4aa704b2c7391 (patch) | |
tree | 0eb3e3ab817341595167a949f67d5c0ba1dd879f /src/poser_turveytori.c | |
parent | d3d159772f1684082d7a545fbb3028d98d803308 (diff) | |
download | libsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.gz libsurvive-18b20af7195b94889924156de2b4aa704b2c7391.tar.bz2 |
Refactor pose function to get timecode and not lh
Diffstat (limited to 'src/poser_turveytori.c')
-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 4628207..243051e 100644 --- a/src/poser_turveytori.c +++ b/src/poser_turveytori.c @@ -1631,9 +1631,9 @@ static void QuickPose(SurviveObject *so, PoserData *pd, SurvivePose *additionalT SolveForLighthouse(&pose.Pos[0], &pose.Rot[0], to, so, pd, 0, additionalTx, lh, 0); //printf("P&O: [% 08.8f,% 08.8f,% 08.8f] [% 08.8f,% 08.8f,% 08.8f,% 08.8f]\n", pos[0], pos[1], pos[2], quat[0], quat[1], quat[2], quat[3]); - if (so->ctx->rawposeproc) + if (so->ctx->poseproc) { - so->ctx->rawposeproc(so, lh, &pose); + so->ctx->poseproc(so, lh, &pose); } if (ttDebug) printf("!\n"); |