using System;
using System.Security;
using System.Runtime.InteropServices;
namespace OpenGl.Gle
{
public class Gle
{
[DllImport("gle32.dll", EntryPoint = "gleGetJoinStyle"), SuppressUnmanagedCodeSecurity]
public static extern int gleGetJoinStyle();
[DllImport("gle32.dll", EntryPoint = "gleSetJoinStyle"), SuppressUnmanagedCodeSecurity]
public static extern void gleSetJoinStyle(int style);
[DllImport("gle32.dll", EntryPoint = "gleGetNumSides"), SuppressUnmanagedCodeSecurity]
public static extern int gleGetNumSides();
[DllImport("gle32.dll", EntryPoint = "gleSetNumSides"), SuppressUnmanagedCodeSecurity]
public static extern void gleSetNumSides(int slices);
[DllImport("gle32.dll", EntryPoint = "glePolyCylinder"), SuppressUnmanagedCodeSecurity]
public static extern void glePolyCylinder(int npoints, double[,] point_array, float[,] color_array, double radius);
[DllImport("gle32.dll", EntryPoint = "glePolyCone"), SuppressUnmanagedCodeSecurity]
public static extern void glePolyCone(int npoints, double[,] point_array, float[,] color_array, double[] radius);
/// This import signature has not been tested.
[DllImport("gle32.dll", EntryPoint = "gleExtrusion"), SuppressUnmanagedCodeSecurity]
public static extern void gleExtrusion(int ncp, double[,] contour, double [,] cont_normal, double[] up, int npoints, double[,] point_array, float[,] color_array);
/// This import signature has not been tested.
[DllImport("Gle.dll", EntryPoint = "gleTwistExtrusion"), SuppressUnmanagedCodeSecurity]
public static extern void gleTwistExtrusion(int ncp, double[,] contour, double[,] cont_normal, double[] up, int npoints, double[,] point_array, float[,] color_array, double[] twist_array);
/// This import signature has not been tested.
[DllImport("gle32.dll", EntryPoint = "gleSuperExtrusion"), SuppressUnmanagedCodeSecurity]
public static extern void gleSuperExtrusion(int ncp, double[,] contour, double[,] cont_normal, double[] up, int npoints, double[,] point_array, float[,] color_array, double[,,] xform_array);
/// This import signature has not been tested.
[DllImport("gle32.dll", EntryPoint = "gleSpiral"), SuppressUnmanagedCodeSecurity]
public static extern void gleSpiral(int ncp, double[,] contour, double[,] cont_normal, double[] up, double startRadius, double drdTheta, double startZ, double dzdTheta, double[,] startXform, double[,] dXformdTheta, double startTheta, double sweepTheta);
/// This import signature has not been tested.
[DllImport("gle32.dll", EntryPoint = "gleTextureMode"), SuppressUnmanagedCodeSecurity]
public static extern int gleTextureMode(int mode);
}
}