fixed some small bugs and updated version to 0.1.3

This commit is contained in:
2026-01-25 10:55:06 +01:00
parent 11e8d343af
commit bf4189bba0
9 changed files with 57 additions and 10 deletions

View File

@@ -3,6 +3,7 @@
#include "interfaces/IRenderer.hpp"
TSE::Camera* TSE::Camera::mainCamera = nullptr;
TSE::ICameraHelper* TSE::Camera::helper = nullptr;
float TSE::Camera::GetRenderScale() const
{
@@ -182,6 +183,7 @@ void TSE::Camera::PreDraw(IShader *shader)
viewMatrix = BuildView_Zplus_RH(worlmatrix);
shader->SetUniform("camMatrix", &viewMatrix);
helper->OnRenderTargetChanged(lastRtSize.x, lastRtSize.y);
}
void TSE::Camera::PostDraw()