迁移auto_merge_material_instance,BillboardTest,PlaneGrid3D,RayPicking四个测试范例到新的Component结构
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include<hgl/graph/VKVertexInputConfig.h>
|
||||
#include<hgl/graph/FirstPersonCameraControl.h>
|
||||
#include<hgl/color/Color.h>
|
||||
#include<hgl/component/StaticMeshComponent.h>
|
||||
|
||||
using namespace hgl;
|
||||
using namespace hgl::graph;
|
||||
@@ -83,7 +84,7 @@ private:
|
||||
if(!ri)
|
||||
return;
|
||||
|
||||
parent_node->Add(new SceneNode(mat,ri));
|
||||
CreateComponent<StaticMeshComponent>(mat,parent_node,ri);
|
||||
}
|
||||
|
||||
bool InitScene()
|
||||
|
Reference in New Issue
Block a user