| 155 | } |
| 156 | |
| 157 | inline int WorldGeometry::xwrap(int x) const { |
| 158 | if (m_size[0] == 0) |
| 159 | return x; |
| 160 | else |
| 161 | return pmod<int>(x, m_size[0]); |
| 162 | } |
| 163 | |
| 164 | inline float WorldGeometry::xwrap(float x) const { |
| 165 | if (m_size[0] == 0) |
no outgoing calls
no test coverage detected