Menu

i can not belive this has not been done befor

rob
2007-08-14
2013-04-24
  • rob

    rob - 2007-08-14

    WOW! good work guys this is exactly what I was looking for.

    Keep up the good work.

     
    • rob

      rob - 2007-08-15

      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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.