Marshal getCustomDebugColor as bool.

This commit is contained in:
AndresTraks 2016-11-26 15:11:41 +02:00
Родитель 781829ff02
Коммит c4afeaad9f
2 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@ -498,6 +498,7 @@ namespace BulletSharp
static extern float btCollisionObject_getContactProcessingThreshold(IntPtr obj); static extern float btCollisionObject_getContactProcessingThreshold(IntPtr obj);
[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity] [DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]
static extern float btCollisionObject_getContactStiffness(IntPtr obj); static extern float btCollisionObject_getContactStiffness(IntPtr obj);
[return: MarshalAs(UnmanagedType.I1)]
[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity] [DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]
static extern bool btCollisionObject_getCustomDebugColor(IntPtr obj, out Vector3 colorRGB); static extern bool btCollisionObject_getCustomDebugColor(IntPtr obj, out Vector3 colorRGB);
[DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity] [DllImport(Native.Dll, CallingConvention = Native.Conv), SuppressUnmanagedCodeSecurity]