summaryrefslogtreecommitdiff
path: root/src/tiled.h
blob: 5791dc06b75df4a3da1ee996d22d0a1273cfaf11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <raylib.h>

typedef struct TiledUniforms {
    float zoom;
    Vector2 offset;

    int atlasSize[2];
    int mapSize[2];

    Texture2D atlasTexture;
    Texture2D tilemapTexture;


    int zoomLoc;
    int offsetLoc;

    int atlasSizeLoc;
    int mapSizeLoc;

    int atlasTextureLoc;
    int tilemapTextureLoc;

} TiledUniforms;