#pragma once #define ATLAS_STRIDE 10 #define ATLAS_XY(x,y) ((y*ATLAS_STRIDE)+x)