38 lines
811 B
C#
38 lines
811 B
C#
using StgSharp;
|
|
using StgSharp.Control;
|
|
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);
|
|
|
|
Triangle t = new Triangle();
|
|
Console.WriteLine(t.RefPoint01.Position);
|
|
|
|
t.RefPoint01.Position = new vec3d(0,0.5f,0);
|
|
|
|
Window w = new Window();
|
|
w.width = 800;
|
|
w.height = 600;
|
|
w.name = "StgSharp";
|
|
w.windowColor = new vec4d(0.1f,0.3f,0.4f,1.0f);
|
|
|
|
//internalIO.LoadTriangle(t);
|
|
internalIO.Window(w);
|
|
}
|
|
|
|
}
|
|
|
|
|