| 265 | #define THRESHOLD 0.30f |
| 266 | |
| 267 | void animation() |
| 268 | { |
| 269 | if (animate) { |
| 270 | isoValue += dIsoValue; |
| 271 | |
| 272 | if (isoValue < 0.1f) { |
| 273 | isoValue = 0.1f; |
| 274 | dIsoValue *= -1.0f; |
| 275 | } |
| 276 | else if (isoValue > 0.9f) { |
| 277 | isoValue = 0.9f; |
| 278 | dIsoValue *= -1.0f; |
| 279 | } |
| 280 | } |
| 281 | } |
| 282 | |
| 283 | void timerEvent(int value) |
| 284 | { |
no outgoing calls
no test coverage detected