Fixing staging buffers not getting deleted
remove vgcore
This commit is contained in:
@@ -8,8 +8,8 @@ using namespace Seele::Component;
|
||||
using namespace Seele::Math;
|
||||
|
||||
Camera::Camera()
|
||||
: bNeedsViewBuild(false)
|
||||
, viewMatrix(Matrix4())
|
||||
: viewMatrix(Matrix4())
|
||||
, bNeedsViewBuild(false)
|
||||
{
|
||||
yaw = 0;
|
||||
pitch = 0;
|
||||
|
||||
@@ -21,7 +21,6 @@ struct Dependencies<This, Rest...> : public Dependencies<Rest...>
|
||||
|
||||
namespace Component
|
||||
{
|
||||
#pragma warning(disable: 4505)
|
||||
template<typename Comp>
|
||||
static int accessComponent(Comp& comp);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "Asset/MeshAsset.h"
|
||||
#include "Graphics/VertexData.h"
|
||||
#include "Material/MaterialInstance.h"
|
||||
#include "Graphics/Mesh.h"
|
||||
|
||||
namespace Seele
|
||||
{
|
||||
@@ -9,9 +10,9 @@ namespace Component
|
||||
{
|
||||
struct Mesh
|
||||
{
|
||||
VertexData* vertexData;
|
||||
MeshId id;
|
||||
PMaterialInstance instance;
|
||||
PMeshAsset asset;
|
||||
Mesh() {}
|
||||
Mesh(PMeshAsset asset) : asset(asset) {}
|
||||
};
|
||||
} // namespace Component
|
||||
} // namespace Seele
|
||||
|
||||
Reference in New Issue
Block a user