layout codes
This commit is contained in:
parent
24474df151
commit
94cd8e1d78
@ -26,15 +26,11 @@ static Vector4f color(1,1,1,1);
|
|||||||
|
|
||||||
struct Line2DConfig
|
struct Line2DConfig
|
||||||
{
|
{
|
||||||
float width;
|
float width=2.0f;
|
||||||
float border;
|
float border=0.75f;
|
||||||
};
|
};
|
||||||
|
|
||||||
static Line2DConfig line_2d_config
|
static Line2DConfig line_2d_config;
|
||||||
{
|
|
||||||
10,
|
|
||||||
2.5
|
|
||||||
};
|
|
||||||
|
|
||||||
class TestApp:public VulkanApplicationFramework
|
class TestApp:public VulkanApplicationFramework
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
// DrawTile
|
#include<hgl/type/StringList.h>
|
||||||
// 该示例使用TileData,演示多个tile图片在一张纹理上
|
|
||||||
|
|
||||||
#include<hgl/type/StringList.h>
|
|
||||||
#include<hgl/graph/TextureLoader.h>
|
#include<hgl/graph/TextureLoader.h>
|
||||||
#include<hgl/graph/TileData.h>
|
#include<hgl/graph/TileData.h>
|
||||||
#include<hgl/graph/font/TileFont.h>
|
#include<hgl/graph/font/TileFont.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user