gluQuadricNormals() public static méthode

public static gluQuadricNormals ( IntPtr quadObject, uint normals ) : void
quadObject System.IntPtr
normals uint
Résultat void
Exemple #1
0
 public static void glutSolidCone(double conebase, double height, int slices, int stacks)
 {
     QUAD_OBJ_INIT();
     GLU.gluQuadricDrawStyle(quadObj, GLU.GLU_FILL);
     GLU.gluQuadricNormals(quadObj, GLU.GLU_SMOOTH);
     // If we ever changed/used the texture or orientation state
     // of quadObj, we'd need to change it to the defaults here
     // with gluQuadricTexture and/or gluQuadricOrientation.
     GLU.gluCylinder(quadObj, conebase, 0.0, height, slices, stacks);
 }
Exemple #2
0
 public static void glutSolidSphere(double radius, int slices, int stacks)
 {
     QUAD_OBJ_INIT();
     GLU.gluQuadricDrawStyle(quadObj, GLU.GLU_FILL);
     GLU.gluQuadricNormals(quadObj, GLU.GLU_SMOOTH);
     // If we ever changed/used the texture or orientation state
     // of quadObj, we'd need to change it to the defaults here
     // with gluQuadricTexture and/or gluQuadricOrientation.
     GLU.gluSphere(quadObj, radius, slices, stacks);
 }