Added ping pong mode (with minor errors).
This commit is contained in:
committed by
s.aydarov
parent
20c25767bd
commit
7861a6d207
@@ -88,7 +88,7 @@ private:
|
||||
{
|
||||
if(_Num < 0)
|
||||
{
|
||||
return (_Max - _Num) % _Max;
|
||||
return (_Max + _Num % _Max);
|
||||
}
|
||||
if(_Num >= _Max)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user