22 lines
471 B
C#
22 lines
471 B
C#
using StgSharp.Math;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace StgSharp.Geometries
|
|
{
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal unsafe struct triangleVertexArray
|
|
{
|
|
internal vec3d* vertex1Ptr;
|
|
internal vec3d* vertex2Ptr;
|
|
internal vec3d* vertex3Ptr;
|
|
}
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
internal unsafe struct triangleVertexOrder
|
|
{
|
|
int vertex1;
|
|
int vertex2;
|
|
int vertex3;
|
|
}
|
|
}
|