renamed MVPMatrix.h to SceneInfo.h
This commit is contained in:
parent
b409f1663e
commit
9fcd26e539
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user