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

@@ -17,6 +17,12 @@ namespace TSE
Perspective = 2,
};
class ICameraHelper
{
public:
inline virtual void OnRenderTargetChanged(float width, float height) {};
};
class Camera : public IResizeNotifiable, public BehaviourScript
{
private:
@@ -35,6 +41,7 @@ namespace TSE
Vector2 lastRtSize = {0, 0};
public:
static ICameraHelper* helper;
static Camera* mainCamera;
// Getter