daily update on 20240828 by nitload youmu, autotexture added

This commit is contained in:
Nitload
2024-08-28 10:58:31 +08:00
parent d082071f2d
commit 1ee4e4a42f
586 changed files with 60910 additions and 123106 deletions
+4 -4
View File
@@ -29,7 +29,7 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Graphics;
using StgSharp.Logic;
using StgSharp.Timing;
using StgSharp.Math;
using StgSharp.MVVM.ViewModel;
@@ -155,7 +155,7 @@ namespace StgSharp.MVVM.View
return InternalIO.glfwGetKey(context.ViewPortID, (int)key);
}
public void InternalInitialize(string name,(int,int,int) cubeSize, ViewModelBase viewModelBinding)
public void InternalInitialize(string name, (int, int, int) cubeSize, ViewModelBase viewModelBinding)
{
SelfName = name;
unitCubeSize = cubeSize;
@@ -175,7 +175,7 @@ namespace StgSharp.MVVM.View
if (!ValidateInitialization())
{
throw new InvalidOperationException("This view is not correctly initialized before rendering.");
}
}
}
Show();
}
@@ -183,7 +183,7 @@ namespace StgSharp.MVVM.View
public bool ValidateInitialization()
{
return (_design != null) && (_render != null) && (getDataBindingEntry != null) && (_responder != null)
&& (_design.ValidateInitializing()) && (_responder.ValidateInitializing()) && (_render.ValidateInitializing())
&& _design.ValidateInitializing() && _responder.ValidateInitializing() && _render.ValidateInitializing()
;
}