(tlist, id)
| 135 | |
| 136 | // Find touch object with specified identifier. |
| 137 | function findTouch(tlist, id) { |
| 138 | for (const t of tlist) { |
| 139 | if (t.identifier == id) return t; |
| 140 | } |
| 141 | return null; |
| 142 | } |
| 143 | |
| 144 | // Return distance between two touch points |
| 145 | function touchGap(t1, t2) { |
no outgoing calls
no test coverage detected
searching dependent graphs…