36 lines
796 B
C#
36 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());
|
||
|
}
|
||
|
}
|
||
|
}
|