add TileUVFloatList/TileUVFloatMap in TileData.h
This commit is contained in:
parent
bb1484ae98
commit
8305602995
@ -1,10 +1,11 @@
|
|||||||
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
|
#ifndef HGL_GRAPH_TILE_DATA_INCLUDE
|
||||||
#define 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/Pool.h>
|
||||||
#include<hgl/type/RectScope.h>
|
#include<hgl/type/RectScope.h>
|
||||||
#include<hgl/graph/Bitmap.h>
|
#include<hgl/graph/Bitmap.h>
|
||||||
|
#include<hgl/graph/vulkan/VKTexture.h>
|
||||||
|
|
||||||
VK_NAMESPACE_USING
|
VK_NAMESPACE_USING
|
||||||
|
|
||||||
@ -15,6 +16,9 @@ namespace hgl
|
|||||||
using TileUVPixel=RectScope2i;
|
using TileUVPixel=RectScope2i;
|
||||||
using TileUVFloat=RectScope2d;
|
using TileUVFloat=RectScope2d;
|
||||||
|
|
||||||
|
using TileUVFloatList=List<TileUVFloat>;
|
||||||
|
using TileUVFloatMap=Map<u32char,TileUVFloat>;
|
||||||
|
|
||||||
struct TileObject
|
struct TileObject
|
||||||
{
|
{
|
||||||
int col,row; //当前tile在整个纹理中的tile位置
|
int col,row; //当前tile在整个纹理中的tile位置
|
||||||
|
Loading…
x
Reference in New Issue
Block a user