code: public void setDiffuse(float gray){
          diffuse[0] = gray;
          diffuse[1] = gray;
          diffuse[2] = gray;
          Di = true;
      }
docs: Sets the diffuse color of the materials used for shapes drawn to the screen.
  
  @param gray
  The gray-scale value scale of the diffuse.