diff options
author | UbitUmarov | 2018-11-12 11:12:52 +0000 |
---|---|---|
committer | UbitUmarov | 2018-11-12 11:12:52 +0000 |
commit | c05598fe62476a30b0df49b4d271dac22c4faf4c (patch) | |
tree | 71e162b853c9955edf69b9a827298ff854e7d0c9 /OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs | |
parent | add a bit more things to ScriptSyntax, change a few more incoerent lsl types ... (diff) | |
download | opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.zip opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.gz opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.bz2 opensim-SC-c05598fe62476a30b0df49b4d271dac22c4faf4c.tar.xz |
ubOde: remove support for old native ODE lib; make inplace terrain changes, if possible
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs index 42ad391..ee22a70 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODEApi.cs | |||
@@ -743,10 +743,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
743 | return CreateiOSTerrain(space, data, bPlaceable); | 743 | return CreateiOSTerrain(space, data, bPlaceable); |
744 | } | 744 | } |
745 | 745 | ||
746 | |||
747 | |||
748 | |||
749 | |||
750 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dCreateGeom"), SuppressUnmanagedCodeSecurity] | 746 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dCreateGeom"), SuppressUnmanagedCodeSecurity] |
751 | internal static extern IntPtr CreateiGeom(int classnum); | 747 | internal static extern IntPtr CreateiGeom(int classnum); |
752 | internal static IntPtr CreateGeom(int classnum) | 748 | internal static IntPtr CreateGeom(int classnum) |
@@ -794,8 +790,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
794 | NTotalGeoms++; | 790 | NTotalGeoms++; |
795 | return CreateiTriMesh(space, data, callback, arrayCallback, rayCallback); | 791 | return CreateiTriMesh(space, data, callback, arrayCallback, rayCallback); |
796 | } | 792 | } |
797 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dDot"), SuppressUnmanagedCodeSecurity] | ||
798 | internal static extern dReal Dot(ref dReal X0, ref dReal X1, int n); | ||
799 | 793 | ||
800 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dDQfromW"), SuppressUnmanagedCodeSecurity] | 794 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dDQfromW"), SuppressUnmanagedCodeSecurity] |
801 | internal static extern void DQfromW(dReal[] dq, ref Vector3 w, ref Quaternion q); | 795 | internal static extern void DQfromW(dReal[] dq, ref Vector3 w, ref Quaternion q); |
@@ -884,9 +878,6 @@ namespace OpenSim.Region.PhysicsModule.ubOde | |||
884 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGeomGetAABB"), SuppressUnmanagedCodeSecurity] | 878 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGeomGetAABB"), SuppressUnmanagedCodeSecurity] |
885 | internal static extern void GeomGetAABB(IntPtr geom, out AABB aabb); | 879 | internal static extern void GeomGetAABB(IntPtr geom, out AABB aabb); |
886 | 880 | ||
887 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGeomGetAABB"), SuppressUnmanagedCodeSecurity] | ||
888 | internal static extern void GeomGetAABB(IntPtr geom, out dReal minX); | ||
889 | |||
890 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGeomGetBody"), SuppressUnmanagedCodeSecurity] | 881 | [DllImport("ode", CallingConvention = CallingConvention.Cdecl, EntryPoint = "dGeomGetBody"), SuppressUnmanagedCodeSecurity] |
891 | internal static extern IntPtr GeomGetBody(IntPtr geom); | 882 | internal static extern IntPtr GeomGetBody(IntPtr geom); |
892 | 883 | ||