aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2018-06-25 02:30:08 +0000
committercnlohr <lohr85@gmail.com>2018-06-25 02:30:08 +0000
commit07196617669b844cbc4b15fbdaa5d0d1de6c7508 (patch)
treeebe9bed203476d241662e4b09c006a4f3b152f0d
parentadae79a87e31fa8c6cebfa44da42e8a24ad1dd11 (diff)
downloadlibsurvive-07196617669b844cbc4b15fbdaa5d0d1de6c7508.tar.gz
libsurvive-07196617669b844cbc4b15fbdaa5d0d1de6c7508.tar.bz2
nerf motion a little more.
-rw-r--r--src/poser_charlesrefine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/poser_charlesrefine.c b/src/poser_charlesrefine.c
index de732fe..4e6e34f 100644
--- a/src/poser_charlesrefine.c
+++ b/src/poser_charlesrefine.c
@@ -159,8 +159,8 @@ int PoserCharlesRefine(SurviveObject *so, PoserData *pd) {
//XXX Danger, will robinson.
//We are doing an IIR on the acceleration. Tests have shown THIS IS BAD. We should try to correct based on the lightcap data.
- scale3d( dd->average_accelerometer_up_vector_in_world_space, dd->average_accelerometer_up_vector_in_world_space, .9999 );
- scale3d( correction, rotated_out, .0001 );
+ scale3d( dd->average_accelerometer_up_vector_in_world_space, dd->average_accelerometer_up_vector_in_world_space, .999 );
+ scale3d( correction, rotated_out, .001 );
add3d( dd->average_accelerometer_up_vector_in_world_space, dd->average_accelerometer_up_vector_in_world_space, correction );
LinmathPoint3d deviation;