25 lines
478 B
C#
25 lines
478 B
C#
using StgSharp.Geometries;
|
|
using StgSharp.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp
|
|
{
|
|
public static unsafe partial class Geometry
|
|
{
|
|
public static unsafe Triangle InitTriagnle<T>(
|
|
vec3d vertex1,
|
|
vec3d vertex2,
|
|
vec3d vertex3
|
|
)where T:Triangle
|
|
{
|
|
Triangle t = new Triangle();
|
|
|
|
|
|
return t;
|
|
}
|
|
|
|
}
|
|
}
|