daily update on 20230525 by nitload youmu, ses00001 not solved
This commit is contained in:
@@ -4,18 +4,16 @@ using StgSharp.Geometries;
|
||||
using StgSharp.Graphics;
|
||||
using StgSharp.Math;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.Intrinsics.X86;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
private unsafe static void Main(string[] args)
|
||||
{
|
||||
int a = 10;
|
||||
int* ap = &a;
|
||||
*ap = 20;
|
||||
Console.WriteLine(a);
|
||||
#if DEBUG
|
||||
|
||||
/**/
|
||||
Pool p = new Pool();
|
||||
Instruction.AddPool(p);
|
||||
|
||||
Triangle t = new Triangle();
|
||||
Console.WriteLine(t.RefPoint01.Position);
|
||||
@@ -26,12 +24,23 @@ internal class Program
|
||||
w.width = 800;
|
||||
w.height = 600;
|
||||
w.name = "StgSharp";
|
||||
w.windowColor = new vec4d(0.1f,0.3f,0.4f,1.0f);
|
||||
w.windowColor = new vec4d(0.1f,0.1f,0.1f,1.0f);
|
||||
|
||||
//internalIO.LoadTriangle(t);
|
||||
internalIO.Window(w);
|
||||
|
||||
/**/
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
public static unsafe void GetPtr(int a)
|
||||
{
|
||||
int* ap = &a;
|
||||
*ap = 100;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user