Fixes
This commit is contained in:
@ -43,8 +43,11 @@ namespace ia::iae
|
||||
|
||||
STATIC BOOL IsPointerDown();
|
||||
STATIC Vec2 GetPointerPosition();
|
||||
|
||||
STATIC BOOL IsPointerDown(IN CONST Vec2& start, IN CONST Vec2& end);
|
||||
STATIC BOOL DidPointerClick(IN CONST Vec2& start, IN CONST Vec2& end);
|
||||
STATIC BOOL DidPointerClick(IN CONST Vec2& center, IN FLOAT32 radius);
|
||||
STATIC BOOL IsPointerDown(IN CONST Vec2& center, IN FLOAT32 radius);
|
||||
|
||||
STATIC BOOL IsKeyDown(IN InputKey key);
|
||||
STATIC BOOL WasKeyPressed(IN InputKey key);
|
||||
@ -93,6 +96,7 @@ namespace ia::iae
|
||||
|
||||
STATIC VOID OnSDLEvent(IN SDL_Event *event);
|
||||
|
||||
friend class Engine;
|
||||
friend class __Internal_Engine;
|
||||
};
|
||||
} // namespace ia::iae
|
||||
@ -67,6 +67,8 @@ namespace ia::iae
|
||||
|
||||
STATIC VOID OnScreenResize(IN INT32 newWidth, IN INT32 newHeight);
|
||||
|
||||
STATIC VOID UpdateSceneScalingFactor();
|
||||
|
||||
public:
|
||||
STATIC Geometry *CreateGeometry(IN CONST Vector<GeometryVertex> &vertices, IN CONST Vector<INT32> &indices);
|
||||
STATIC VOID DestroyGeometry(IN Geometry *handle);
|
||||
@ -102,6 +104,7 @@ namespace ia::iae
|
||||
STATIC BOOL s_ySortingEnabled;
|
||||
STATIC SDL_Rect s_defaultScissor;
|
||||
STATIC SDL_GPUViewport s_defaultViewport;
|
||||
STATIC Vec2 s_activeSceneDesignViewport;
|
||||
|
||||
friend class Engine;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user