daily update on 20240202 by nitload youmu, keep on writing xpreeess compiler

This commit is contained in:
Nitload
2025-02-02 23:59:05 +08:00
parent e687473132
commit 4ee675669f
483 changed files with 86314 additions and 2712 deletions
+11 -15
View File
@@ -29,6 +29,7 @@
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
using StgSharp.Collections;
using StgSharp.Controlling.UsrActivity;
using StgSharp.Geometries;
using StgSharp.Graphics;
@@ -58,24 +59,19 @@ namespace StgSharp
StgSharp.InitGL( 4, 6 );
StgSharp.GlobalSetting.VSyncActivated = false;
Matrix44 m1 = new Matrix44(
1, 0, 0, 1,
0, 2, 0, 0,
0, 0, 3, 0,
0, 0, 0, 4
);
Matrix43 m2 = new Matrix43(
1,3, 5,
5,7, 10,
2,4,6,
6,8,0
);
var ans = m1.Multiple( m2 );
ViewPort vp = new ViewPort(800,600,"Hello StgSharp!",IntPtr.Zero);
//throw new NotImplementedException();
var mul = new StringHashMultiplexer();
IEqualityComparer<string> com = (IEqualityComparer<string>)mul;
string str = "1234567012345670";
for (int i = 1; i < 100; i++)
{
str += $"{(i%8)}";
int hash = mul.ForceComputeHash(str);
Thread.Sleep(20);
}
ViewModelBase mainModel = new ViewModelMain( vp );
mainModel.CreateAndBindView<ViewMain>( "MainView", (1, 1, 1) );