YMath/Demo/Program.cs
2024-09-29 12:04:42 +03:00

35 lines
796 B
C#

using YMath;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Demo
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.SetHighDpiMode(HighDpiMode.SystemAware);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Projector p = new Projector(
new Camera(1),
new CoordSystem(new Vector(), Matrix.Ident(4)));
var point = p.Project(new Vector(1, 1, 1, 2));
Application.Run(new Form1());
}
}
}