WOW! good work guys this is exactly what I was looking for.
Keep up the good work.
but here are couple of chages that I have made to local copy of wogl_sharp that work for me.
glu.cs [DllImport("glu32", EntryPoint = "gluCylinder")] public static extern void Cylinder(IntPtr quadric, double base_, double top, double height, int slices, int stacks);
[DllImport("glu32", EntryPoint = "gluDisk")] public static extern void Disk(IntPtr quadric, double inner, double outer, int slices, int stacks);
[DllImport("glu32", EntryPoint = "gluQuadricTexture")] public static extern void QuadricTexture(IntPtr quadric, bool texture);
[DllImport("glu32", EntryPoint = "gluQuadricNormals")] public static extern void QuadricNormals(IntPtr quadric, QuadricNormal qNormal);
glc.cs public enum QuadricNormal { smooth = 100000, flat = 100001, none = 100002 }
Log in to post a comment.
WOW! good work guys this is exactly what I was looking for.
Keep up the good work.
but here are couple of chages that I have made to local copy of wogl_sharp that work for me.
glu.cs
[DllImport("glu32", EntryPoint = "gluCylinder")]
public static extern void Cylinder(IntPtr quadric, double base_, double top, double height, int slices, int stacks);
[DllImport("glu32", EntryPoint = "gluDisk")]
public static extern void Disk(IntPtr quadric, double inner, double outer, int slices, int stacks);
[DllImport("glu32", EntryPoint = "gluQuadricTexture")]
public static extern void QuadricTexture(IntPtr quadric, bool texture);
[DllImport("glu32", EntryPoint = "gluQuadricNormals")]
public static extern void QuadricNormals(IntPtr quadric, QuadricNormal qNormal);
glc.cs
public enum QuadricNormal
{
smooth = 100000,
flat = 100001,
none = 100002
}