40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
using StgSharp.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
|
namespace StgSharp
|
|
{
|
|
internal static partial class internalIO
|
|
{
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "load",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern IntPtr load_internal(float x,float y, float z, float w);
|
|
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "addps",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern IntPtr addps_internal(IntPtr ptr1, IntPtr ptr2);
|
|
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "subps",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern IntPtr subps_internal(IntPtr ptr1, IntPtr ptr2);
|
|
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "mulps",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern IntPtr mulps_internal(IntPtr ptr1, IntPtr ptr2);
|
|
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "mulps_const",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern IntPtr mulps_const_internal(IntPtr ptr, float value);
|
|
|
|
|
|
|
|
[DllImport("StgSharpGraphic.dll", EntryPoint = "deinitM128",
|
|
CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern void deinitM128_internal(IntPtr M128Ptr);
|
|
|
|
}
|
|
}
|