fixed some small bugs and updated version to 0.1.3
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user