eco2d/code/common/atlas_shared.h

5 lines
81 B
C

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