cyotek


Comments:

Converting 2D arrays to 1D and accessing as either 2D or 1D

posted by cyotekcyotek(155) 1 month, 15 days ago 0

Replied twice to your comment now and they keep disappearing. Trying one last time by adding a new comment then giving up.

To quickly sum up what I said earlier (twice!) - I don't believe there are any drawbacks, bar a tiny amount of overhead due to having a class now rather than a basic array, plus the calculations to and from 2D space. But certainly I don't have any issues at all with it for what I'm using it for.

Regards;
Richard Moss

Reply