| 1898 | } |
| 1899 | |
| 1900 | void Shape::AddPhase(const AnimationPhase& phase) |
| 1901 | { |
| 1902 | int i = 0; |
| 1903 | for (; i < _phase.Size(); i++) |
| 1904 | { |
| 1905 | if (_phase[i].Time() > phase.Time()) |
| 1906 | { |
| 1907 | break; |
| 1908 | } |
| 1909 | } |
| 1910 | _phase.Insert(i, phase); |
| 1911 | } |
| 1912 | |
| 1913 | int Shape::PrevAnimationPhase(float time) const |
| 1914 | { |
no test coverage detected