From 1ec410ecd725f5a3ccb2d2fc16f48730d9d9fe43 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:22:23 +0000 Subject: trying to fix my screwup, please hold on --- .../contrib/Ode.NET/Drawstuff/AssemblyInfo.cs | 18 ------- .../ode-0.9/contrib/Ode.NET/Drawstuff/Drawstuff.cs | 58 ---------------------- .../ode-0.9/contrib/Ode.NET/Drawstuff/premake.lua | 19 ------- 3 files changed, 95 deletions(-) delete mode 100644 libraries/ode-0.9/contrib/Ode.NET/Drawstuff/AssemblyInfo.cs delete mode 100644 libraries/ode-0.9/contrib/Ode.NET/Drawstuff/Drawstuff.cs delete mode 100644 libraries/ode-0.9/contrib/Ode.NET/Drawstuff/premake.lua (limited to 'libraries/ode-0.9/contrib/Ode.NET/Drawstuff') diff --git a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/AssemblyInfo.cs b/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/AssemblyInfo.cs deleted file mode 100644 index 8d2b86a..0000000 --- a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/AssemblyInfo.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("Drawstuff.NET")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Ode.NET")] -[assembly: AssemblyCopyright("")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: Guid("b2a39dd4-dd67-4e8a-af70-d3b412da8850")] -[assembly: AssemblyVersion("0.7.0.0")] -[assembly: AssemblyFileVersion("0.7.0.0")] -[assembly: CLSCompliantAttribute(true)] diff --git a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/Drawstuff.cs b/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/Drawstuff.cs deleted file mode 100644 index aa84966..0000000 --- a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/Drawstuff.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using Ode.NET; - -namespace Drawstuff.NET -{ -#if dDOUBLE - using dReal = System.Double; -#else - using dReal = System.Single; -#endif - - public static class ds - { - public const int VERSION = 2; - - public enum Texture - { - None, - Wood - } - - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public delegate void CallbackFunction(int arg); - - [StructLayout(LayoutKind.Sequential)] - public struct Functions - { - public int version; - public CallbackFunction start; - public CallbackFunction step; - public CallbackFunction command; - public CallbackFunction stop; - public string path_to_textures; - } - - [DllImport("drawstuff", EntryPoint="dsDrawBox")] - public static extern void DrawBox(ref d.Vector3 pos, ref d.Matrix3 R, ref d.Vector3 sides); - - [DllImport("drawstuff", EntryPoint = "dsDrawCapsule")] - public static extern void DrawCapsule(ref d.Vector3 pos, ref d.Matrix3 R, dReal length, dReal radius); - - [DllImport("drawstuff", EntryPoint = "dsDrawConvex")] - public static extern void DrawConvex(ref d.Vector3 pos, ref d.Matrix3 R, dReal[] planes, int planeCount, dReal[] points, int pointCount, int[] polygons); - - [DllImport("drawstuff", EntryPoint="dsSetColor")] - public static extern void SetColor(float red, float green, float blue); - - [DllImport("drawstuff", EntryPoint="dsSetTexture")] - public static extern void SetTexture(Texture texture); - - [DllImport("drawstuff", EntryPoint="dsSetViewpoint")] - public static extern void SetViewpoint(ref d.Vector3 xyz, ref d.Vector3 hpr); - - [DllImport("drawstuff", EntryPoint="dsSimulationLoop")] - public static extern void SimulationLoop(int argc, string[] argv, int window_width, int window_height, ref Functions fn); - } -} diff --git a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/premake.lua b/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/premake.lua deleted file mode 100644 index d777ffb..0000000 --- a/libraries/ode-0.9/contrib/Ode.NET/Drawstuff/premake.lua +++ /dev/null @@ -1,19 +0,0 @@ -package.name = "Drawstuff.NET" -package.kind = "dll" -package.language = "c#" - -if (options["with-doubles"]) then - package.defines = { "dDOUBLE" } -else - package.defines = { "dSINGLE " } -end - -package.links = { - "System", - "Ode.NET" -} - -package.files = { - "AssemblyInfo.cs", - "Drawstuff.cs" -} -- cgit v1.1