public GluSphere(CubeMapTexture texture, Vector3f position, float radius, int slices) { this.texture = texture; this.position = position; this.radius = radius; this.slices = slices; quad = Glu.gluNewQuadric(); Glu.gluQuadricNormals(quad, Glu.GLU_SMOOTH); // Create Smooth Normals ( NEW ) Glu.gluQuadricTexture(quad, Gl.GL_TRUE); // Create Texture Coords ( NEW ) Glu.gluQuadricDrawStyle(quad, Glu.GLU_FILL); angle = 0.0f; x_axis = 0.0f; y_axis = 0.0f; z_axis = 0.0f; }
public SkyBox(CubeMapTexture texture) { this.texture = texture; }