Replaced IntX by intX, Basic AssetViewer (can view Textures, kind of)

This commit is contained in:
Simon Lübeß
2023-07-01 00:15:01 +02:00
parent e12fcaacff
commit 77c45db122
37 changed files with 1299 additions and 1688 deletions
@@ -183,7 +183,7 @@ namespace GlitchyEditor.EditWindows
if (any(newMousePos != mousePos))
{
Input.SetMousePosition((Int2)newMousePos);
Input.SetMousePosition((int2)newMousePos);
// After wrapping the cursor the the other side, the camera controller must not compare the positions,
// because the delta doesn't represent the correct movement of the cursor.
// TODO: can be solved by using direct mouse movement instead of comparing positions