StaticMeshComponent改为MeshComponent

This commit is contained in:
2025-06-15 17:53:15 +08:00
parent ec4125776a
commit 97040176d6
20 changed files with 131 additions and 131 deletions

View File

@@ -10,7 +10,7 @@
#include<hgl/graph/VKVertexInputConfig.h>
#include<hgl/graph/FirstPersonCameraControl.h>
#include<hgl/color/Color.h>
#include<hgl/component/StaticMeshComponent.h>
#include<hgl/component/MeshComponent.h>
using namespace hgl;
using namespace hgl::graph;
@@ -84,7 +84,7 @@ private:
if(!ri)
return;
CreateComponent<StaticMeshComponent>(mat,parent_node,ri);
CreateComponent<MeshComponent>(mat,parent_node,ri);
}
bool InitScene()