renamed MVPMatrix.h to SceneInfo.h

This commit is contained in:
hyzboy 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;

View File

@ -5,7 +5,7 @@
#include<hgl/graph/Camera.h>
#include<hgl/graph/SceneNode.h>
#include<hgl/graph/VKArrayBuffer.h>
#include<hgl/graph/MVPMatrix.h>
#include<hgl/graph/SceneInfo.h>
#include<hgl/type/Color4f.h>
#include<hgl/type/Sets.h>
namespace hgl

View File

@ -1,5 +1,5 @@
#ifndef HGL_GRAPH_MVP_MATRIX_INCLUDE
#define HGL_GRAPH_MVP_MATRIX_INCLUDE
#ifndef HGL_GRAPH_SCENE_INFO_INCLUDE
#define HGL_GRAPH_SCENE_INFO_INCLUDE
#include<hgl/math/Matrix.h>
#include<hgl/CompOperator.h>
@ -33,4 +33,4 @@ namespace hgl
};//struct MVPMatrix
}//namespace graph
}//namespace hgl
#endif//HGL_GRAPH_MVP_MATRIX_INCLUDE
#endif//HGL_GRAPH_SCENE_INFO_INCLUDE