code: public void setDiffuse(float diffuse[]){
          for(int i = 0; i<diffuse.length;i++)
              this.diffuse[i]=diffuse[i];
          Di = true;
      }
docs: Sets the diffuse color of the materials used for shapes drawn to the screen.
  
  @param diffuse
  The diffuse color of the materials