renamed MVPMatrix.h to SceneInfo.h

This commit is contained in:
2021-05-24 20:44:20 +08:00
parent b409f1663e
commit 9fcd26e539
3 changed files with 7 additions and 4 deletions

View File

@@ -4,6 +4,7 @@
#include"VulkanAppFramework.h"
#include<hgl/math/Math.h>
#include<hgl/filesystem/FileSystem.h>
#include<hgl/graph/SceneInfo.h>
using namespace hgl;
using namespace hgl::graph;
@@ -55,6 +56,8 @@ private:
bool InitUBO()
{
MVPMatrix *mvp=new MVPMatrix;
const VkExtent2D extent=sc_render_target->GetExtent();
cam.width=extent.width;