fixed access method

This commit is contained in:
2024-02-03 19:53:19 +08:00
parent 1dbf8ae5c7
commit 6a7f8e7754
3 changed files with 13 additions and 15 deletions

View File

@@ -151,11 +151,9 @@ private:
{
struct PlaneGridCreateInfo pgci;
pgci.grid_size.width =32;
pgci.grid_size.height=32;
pgci.grid_size.Set(32,32);
pgci.sub_count.width =8;
pgci.sub_count.height=8;
pgci.sub_count.Set(8,8);
pgci.lum=0.5;
pgci.sub_lum=0.75;
@@ -206,7 +204,7 @@ private:
public:
bool Init(int w,int h) override
bool Init(uint w,uint h) override
{
if(!SceneAppFramework::Init(w,h))
return(false);