| 208 | } |
| 209 | |
| 210 | inline float WorldGeometry::diff(float x1, float x2) const { |
| 211 | if (m_size[0] == 0) |
| 212 | return x1 - x2; |
| 213 | else |
| 214 | return wrapDiffF<float>(x1, x2, m_size[0]); |
| 215 | } |
| 216 | |
| 217 | inline int WorldGeometry::diff(int x1, int x2) const { |
| 218 | if (m_size[0] == 0) |