Files
stgsharp/源代码/StgSharpDebug/Program.cs
T

24 lines
520 B
C#

using StgSharp;
using StgSharp.Math;
using System;
using System.Diagnostics;
internal class Program
{
private unsafe static void Main(string[] args)
{
var a = new Matrix3x4(1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6);
var b = new Matrix4x3(1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6);
var c = new Colum2D(1, 2);
var d = new Vec2D(1, 2);
var e = new Vec3D(1,2,3);
Console.WriteLine(a);
Console.WriteLine("\n");
Console.WriteLine(a.multiple(b));
}
}