diff options
author | mwturvey <michael.w.turvey@intel.com> | 2017-03-27 14:36:54 -0700 |
---|---|---|
committer | mwturvey <michael.w.turvey@intel.com> | 2017-03-27 14:36:54 -0700 |
commit | e557b5128a32c99dcda0e6a9784a507258342301 (patch) | |
tree | 742ff708f0d831f76b7d0e7877960e232305689e | |
parent | e5c15af3af93356bb056624726e0b6068354690f (diff) | |
download | libsurvive-e557b5128a32c99dcda0e6a9784a507258342301.tar.gz libsurvive-e557b5128a32c99dcda0e6a9784a507258342301.tar.bz2 |
Small tweak. Using axis/angle
-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 d737723..62deccf 100644 --- a/src/poser_turveytori.c +++ b/src/poser_turveytori.c @@ -729,7 +729,7 @@ static void RefineRotationEstimate(FLT *rotOut, Point lhPoint, FLT *initialEstim // in fact, it probably could probably be 1 without any issue. The main place where g is decremented // is in the block below when we've made a jump that results in a worse fitness than we're starting at. // In those cases, we don't take the jump, and instead lower the value of g and try again. - for (FLT g = 0.2; g > 0.00001; g *= 0.99) + for (FLT g = 0.2; g > 0.000000001; g *= 0.99) { i++; FLT point1[4]; @@ -781,7 +781,7 @@ static void RefineRotationEstimate(FLT *rotOut, Point lhPoint, FLT *initialEstim //#ifdef TORI_DEBUG printf("+ %8.8f, (%8.8f, %8.8f, %8.8f) %f\n", newMatchFitness, point4[0], point4[1], point4[2], point4[3]); //#endif - g *= 1.03; + g *= 1.02; } else |