| 74 | } |
| 75 | |
| 76 | bool Math::isAngleInBetween(float angle1, float angle2, float angleBetweenCandidate) |
| 77 | { |
| 78 | if (angle1 == angle2 && angle1 != angleBetweenCandidate) { |
| 79 | return false; |
| 80 | } |
| 81 | if (angleBetweenCandidate < angle1) { |
| 82 | angleBetweenCandidate += 360.0f; |
| 83 | angle2 += 360.0f; |
| 84 | } |
| 85 | if (angle2 < angleBetweenCandidate) { |
| 86 | angle2 += 360.0f; |
| 87 | } |
| 88 | return angle2 - angle1 < 360.0f; |
| 89 | } |
| 90 | |
| 91 | bool Math::crossing( |
| 92 | RealVector2D const& segmentStart, |
nothing calls this directly
no outgoing calls
no test coverage detected