aboutsummaryrefslogtreecommitdiffstats
path: root/src/ginput
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-02-03 19:41:10 +0100
committerJoel Bodenmann <joel@unormal.org>2014-02-03 19:41:10 +0100
commit7f960a3c361afbc79c612f41b6b9f97e9be0113e (patch)
treef10f86a1928f6a9837e1ef2bd0ae36f90c8fc09d /src/ginput
parentf1508cba2c8edf3511c03f97482948fd8a4f15b4 (diff)
downloaduGFX-7f960a3c361afbc79c612f41b6b9f97e9be0113e.tar.gz
uGFX-7f960a3c361afbc79c612f41b6b9f97e9be0113e.tar.bz2
uGFX-7f960a3c361afbc79c612f41b6b9f97e9be0113e.zip
whitespaces
Diffstat (limited to 'src/ginput')
-rw-r--r--src/ginput/mouse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ginput/mouse.c b/src/ginput/mouse.c
index d79d1994..d6968d47 100644
--- a/src/ginput/mouse.c
+++ b/src/ginput/mouse.c
@@ -128,9 +128,9 @@ static struct MouseConfig_t {
dy1 = ((float)(cross[1].y - cross[2].y)) * ((float)(points[0].x - points[2].x))
- ((float)(cross[0].y - cross[2].y)) * ((float)(points[1].x - points[2].x));
- dy2 = cross[0].y * ((float)points[1].x * (float)points[2].y - (float)points[2].x * (float)points[1].y) -
- cross[1].y * ((float)points[0].x * (float)points[2].y - (float)points[2].x * (float)points[0].y) +
- cross[2].y * ((float)points[0].x * (float)points[1].y - (float)points[1].x * (float)points[0].y);
+ dy2 = cross[0].y * ((float)points[1].x * (float)points[2].y - (float)points[2].x * (float)points[1].y) -
+ cross[1].y * ((float)points[0].x * (float)points[2].y - (float)points[2].x * (float)points[0].y) +
+ cross[2].y * ((float)points[0].x * (float)points[1].y - (float)points[1].x * (float)points[0].y);
/* Now, calculate all the required coefficients */
c->ax = dx0 / dx;