516517518519520521522523524525526
//NOTE: if noFill() and noStroke()->absolutely nothing will be drawn-even when texture is set if (this.isNoFill()) pa.noFill(); else{ MTColor fillColor = this.getFillColor(); pa.fill(fillColor.getR(), fillColor.getG(), fillColor.getB(), fillColor.getAlpha()); } if (this.isNoStroke()) pa.noStroke(); else{
571572573574575576577578579580581
} if (!this.isNoFill()){ pa.noStroke(); pa.noSmooth(); pa.fill(fillColor.getR(), fillColor.getG(), fillColor.getB(), fillColor.getAlpha()); this.drawWithProcessing(pa, this.getVerticesLocal(), PApplet.TRIANGLES, true); } // }//end if gl and smooth