add TileUVFloatList/TileUVFloatMap in TileData.h

This commit is contained in:
hyzboy 2020-08-03 21:21:35 +08:00
parent bb1484ae98
commit 8305602995

View File

@ -1,10 +1,11 @@
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
#define HGL_GRAPH_TILE_DATA_INCLUDE
#include<hgl/graph/vulkan/VKTexture.h>
#include<hgl/type/Map.h>
#include<hgl/type/Pool.h>
#include<hgl/type/RectScope.h>
#include<hgl/graph/Bitmap.h>
#include<hgl/graph/vulkan/VKTexture.h>
VK_NAMESPACE_USING
@ -15,6 +16,9 @@ namespace hgl
using TileUVPixel=RectScope2i;
using TileUVFloat=RectScope2d;
using TileUVFloatList=List<TileUVFloat>;
using TileUVFloatMap=Map<u32char,TileUVFloat>;
struct TileObject
{
int col,row; //当前tile在整个纹理中的tile位置