aboutsummaryrefslogtreecommitdiff
path: root/calibrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'calibrate.c')
-rw-r--r--calibrate.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/calibrate.c b/calibrate.c
index e21c310..de7fd3b 100644
--- a/calibrate.c
+++ b/calibrate.c
@@ -170,12 +170,6 @@ void DisplayPose(SurvivePose pose, size_t xResolution, size_t yResolution)
CNFGColor((b << 16) | (g << 8) | r);
- int x1, x2, y1, y2;
-
- x1 = (int)(windowCenterX - minRectSize - ((pose.Pos[2] * 40.0)) + (pose.Pos[0] * sizeScale));
- y1 = (int)(windowCenterY - minRectSize - ((pose.Pos[2] * 40.0)) + (pose.Pos[1] * sizeScale));
- x2 = (int)(windowCenterX + minRectSize + ((pose.Pos[2] * 40.0)) + (pose.Pos[0] * sizeScale));
- y2 = (int)(windowCenterY + minRectSize + ((pose.Pos[2] * 40.0)) + (pose.Pos[1] * sizeScale));
FLT xCenter = windowCenterX + (pose.Pos[0] * sizeScale);
FLT yCenter = windowCenterY + (pose.Pos[1] * sizeScale);