This commit is contained in:
2020-11-19 22:12:31 +08:00
parent b58af7ac23
commit f57a7afb74
4 changed files with 102 additions and 33 deletions

View File

@@ -5,6 +5,7 @@
#include<hgl/graph/InlineGeometry.h>
#include<hgl/graph/VKRenderResource.h>
#include<hgl/graph/RenderList.h>
#include<hgl/graph/Camera.h>
using namespace hgl;
using namespace hgl::graph;
@@ -105,7 +106,7 @@ private:
ro_round_rectangle=CreateRenderableRoundRectangle(db,m2d.material,&rrci);
}
camera.pos.Set(200,200,200,1.0);
camera->pos.Set(200,200,200,1.0);
}
bool InitScene()