diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-10-30 18:35:41 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-10-30 18:35:41 -0400 |
| commit | f369426f5054149d7ca7ef493b94289009b658f7 (patch) | |
| tree | 56bad13bb2b8f3078806b1543bd2b742999d9960 | |
| parent | 2df9a788a16806b74960c7990ec2c18df6f1e1af (diff) | |
| parent | 0bf5e2b24d9037ef1cb4f7b435892b44d2070aac (diff) | |
merge
| -rw-r--r-- | public/assets/test/intersect.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/assets/test/intersect.html b/public/assets/test/intersect.html index 0a8526e..5e16f2e 100644 --- a/public/assets/test/intersect.html +++ b/public/assets/test/intersect.html @@ -101,7 +101,7 @@ function drawPoint (p) { ctx.fillRect(x, y, r*2, r*2) } function perp (va, vb) { - return (va.y.a - va.x.a) * (vb.y.b - vb.x.b) - (va.y.b - va.x.b) * (vb.y.a - vb.x.a) + return (va.y.a - va.x.a) * (vb.y.b - vb.x.b) - (va.y.b - va.x.b) * (vb.y.a - vb.x.a) } function is_collinear (p, vec) { var on_x, on_y |
