improved and fixed CreatePlane

This commit is contained in:
2023-10-13 19:21:04 +08:00
parent a58589f01f
commit 7788459109
2 changed files with 4 additions and 22 deletions

View File

@@ -78,23 +78,10 @@ namespace hgl
*/
Primitive *CreatePlaneGrid(RenderResource *db,const VIL *vil,const PlaneGridCreateInfo *pgci);
struct PlaneCreateInfo
{
Vector2f tile;
public:
PlaneCreateInfo()
{
tile.x=1.0f;
tile.y=1.0f;
}
};//struct PlaneCreateInfo
/**
* 创建一个平面(三角形)
*/
Primitive *CreatePlane(RenderResource *db,const VIL *vil,const PlaneCreateInfo *pci);
Primitive *CreatePlane(RenderResource *db,const VIL *vil);
struct CubeCreateInfo
{