(offsetVec)
| 497 | 'Cannot pinch by a distance of zero.'); |
| 498 | } |
| 499 | function startSoThatEndsAtMax(offsetVec) { |
| 500 | if (distance < 0) { |
| 501 | var magnitude = offsetVec.magnitude(); |
| 502 | offsetVec.scale(magnitude ? (magnitude + distance) / magnitude : 0); |
| 503 | } |
| 504 | } |
| 505 | var halfDistance = distance / 2; |
| 506 | function scaleByHalfDistance(offsetVec) { |
| 507 | var magnitude = offsetVec.magnitude(); |
nothing calls this directly
no outgoing calls
no test coverage detected