Fixing staging buffers not getting deleted
remove vgcore
This commit is contained in:
@@ -5,7 +5,7 @@ using namespace Seele;
|
||||
using namespace Seele::Editor;
|
||||
|
||||
PlayView::PlayView(Gfx::PGraphics graphics, PWindow window, const ViewportCreateInfo& createInfo, std::string dllPath)
|
||||
: GameView(std::move(graphics), std::move(window), std::move(createInfo), dllPath)
|
||||
: GameView(graphics, window, createInfo, dllPath)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -60,15 +60,11 @@ void SceneView::render()
|
||||
renderGraph.render(viewportCamera);
|
||||
}
|
||||
|
||||
static float cameraSpeed = 1;
|
||||
|
||||
void SceneView::keyCallback(KeyCode code, InputAction action, KeyModifier)
|
||||
{
|
||||
cameraSystem.keyCallback(code, action);
|
||||
}
|
||||
|
||||
static bool mouseDown = false;
|
||||
|
||||
void SceneView::mouseMoveCallback(double xPos, double yPos)
|
||||
{
|
||||
cameraSystem.mouseMoveCallback(xPos, yPos);
|
||||
|
||||
@@ -8,8 +8,8 @@ ViewportControl::ViewportControl(const URect& viewportDimensions, Vector initial
|
||||
: position(initialPos)
|
||||
, fieldOfView(glm::radians(70.f))
|
||||
, aspectRatio(static_cast<float>(viewportDimensions.size.x) / viewportDimensions.size.y)
|
||||
, yaw(glm::pi<float>()/-2.0f)
|
||||
, pitch(0)
|
||||
, yaw(glm::pi<float>()/-2.0f)
|
||||
{
|
||||
std::cout << yaw << " " << pitch << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user