daily update on 20240202 by nitload youmu, keep on writing xpree[D[D[D[D[De[C[C[Css compiler
This commit is contained in:
@@ -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) );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user