You are viewing a single comment's thread. Return to all comments →
how did u find the new position? for my case i just simply do a modular operation:
int new_start_pos = r%ptr;
if you actually do actual N rotations (on the linear array) then I think it will still take long time.
Matrix Layer Rotation
You are viewing a single comment's thread. Return to all comments →
how did u find the new position? for my case i just simply do a modular operation:
if you actually do actual N rotations (on the linear array) then I think it will still take long time.