aboutsummaryrefslogtreecommitdiff
path: root/src/poser_turveytori.c
diff options
context:
space:
mode:
authorMike Turvey <mturvey6@gmail.com>2018-01-15 21:50:10 -0700
committerMike Turvey <mturvey6@gmail.com>2018-01-15 21:50:10 -0700
commit7817da63526f35d10d6d4f6b3d9c02280719e023 (patch)
treeca30ac55445f1355615464688ac2e012faea2e04 /src/poser_turveytori.c
parent8be34f04a100defc9d1958aa4ce63ef02d19db69 (diff)
downloadlibsurvive-7817da63526f35d10d6d4f6b3d9c02280719e023.tar.gz
libsurvive-7817da63526f35d10d6d4f6b3d9c02280719e023.tar.bz2
Fix compiler warnings
Diffstat (limited to 'src/poser_turveytori.c')
-rw-r--r--src/poser_turveytori.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/poser_turveytori.c b/src/poser_turveytori.c
index 59ff25e..de1516a 100644
--- a/src/poser_turveytori.c
+++ b/src/poser_turveytori.c
@@ -1,5 +1,5 @@
#include <survive.h>
-#include <src/survive_config.h>
+#include "survive_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -785,7 +785,6 @@ FLT RotationEstimateFitnessQuaternion(Point lhPoint, FLT *quaternion, TrackedObj
FLT throwaway = RotationEstimateFitnessAxisAngle(lhPoint, axisAngle, obj);
- int a = throwaway;
return throwaway;
}
@@ -1397,7 +1396,7 @@ static Point SolveForLighthouse(FLT posOut[3], FLT quatOut[4], TrackedObject *ob
SolveForRotationQuat(rotQuat, obj, refinedEstimateGd);
SolveForRotation(rot, obj, refinedEstimateGd);
FLT objPos[3];
- FLT objPos2[3];
+ //FLT objPos2[3];
//{
// toriData->lastLhRotQuat[lh][0] = rotQuat[0];