| 36 | } |
| 37 | |
| 38 | double normalize(const double value, const double start, const double end) |
| 39 | { |
| 40 | const double width = end - start; |
| 41 | const double offsetValue = value - start; |
| 42 | |
| 43 | return (offsetValue - (floor(offsetValue / width) * width)) + start; |
| 44 | } |
| 45 | } // namespace obe::Utils::Math |
no outgoing calls
no test coverage detected