static
| 84 | |
| 85 | // static |
| 86 | bool Animation::GetMaxDuration(Interpolator const & interpolator, double & maxDuration) |
| 87 | { |
| 88 | if (interpolator.IsActive()) |
| 89 | { |
| 90 | double const duration = interpolator.GetMaxDuration(); |
| 91 | if (duration >= 0.0) |
| 92 | maxDuration = maxDuration >= 0.0 ? std::max(duration, maxDuration) : duration; |
| 93 | else |
| 94 | return false; |
| 95 | } |
| 96 | return true; |
| 97 | } |
| 98 | |
| 99 | std::string DebugPrint(Animation::Type const & type) |
| 100 | { |