(t, b, c, d)
| 24 | |
| 25 | |
| 26 | def INOUT_CIRC(t, b, c, d): |
| 27 | t = float(t) |
| 28 | b = float(b) |
| 29 | c = float(c) |
| 30 | d = float(d) |
| 31 | t1 = t / (d / 2) |
| 32 | |
| 33 | if (t / (d / 2)) < 1: |
| 34 | return -c / 2 * (math.sqrt(1 - (t / (d / 2)) ** 2) - 1) + b |
| 35 | else: |
| 36 | return c / 2 * (math.sqrt(1 - (t1 - 2) ** 2) + 1) + b |
| 37 | |
| 38 | |
| 39 | def IN_CUBIC(t, b, c, d): |
nothing calls this directly
no outgoing calls
no test coverage detected