(out, a, b, scale1)
| 69936 | return out; |
| 69937 | } |
| 69938 | function scaleAndAdd(out, a, b, scale1) { |
| 69939 | out[0] = a[0] + b[0] * scale1; |
| 69940 | out[1] = a[1] + b[1] * scale1; |
| 69941 | return out; |
| 69942 | } |
| 69943 | function distance(a, b) { |
| 69944 | var x = b[0] - a[0], y = b[1] - a[1]; |
| 69945 | return Math.hypot(x, y); |
nothing calls this directly
no outgoing calls
no test coverage detected