fix warning
This commit is contained in:
@@ -64,8 +64,6 @@ inline void wrap(int &x, int n)
|
||||
}
|
||||
inline void wrap(unsigned &x, unsigned n)
|
||||
{
|
||||
if (x<0)
|
||||
x += ((-x/n)+1)*n;
|
||||
x %= n;
|
||||
}
|
||||
inline void wrap(float &x, float n)
|
||||
|
||||
Reference in New Issue
Block a user