How to Texturize?
makakken opened this issue · comments
makakken commented
Sorry, haven't found a support forum... How to texturize a RShape?
PImage tex;
shape = new RShape();
shape.addMoveTo(-_w/2,-_h/2);
shape.addLineTo(_w/2,-_h/2);
shape.addLineTo(0+hjitter,_h/2);
shape.addClose();
Haven't got the texture command to work ;)
Ricard Marxer commented
Sorry, I had missed this.
Indeed the texture command has not been implemented. I'm not sure how
complex it is to do so, since it should be able to handle holes.
I won't be able to have a look at it but pull requests are more than
welcome ;-)
…On Tue, Sep 29, 2020 at 3:27 PM makakken ***@***.***> wrote:
Sorry, haven't found a support forum... How to texturize a RShape?
PImage tex;
shape = new RShape();
shape.addMoveTo(-_w/2,-_h/2);
shape.addLineTo(_w/2,-_h/2);
shape.addLineTo(0+hjitter,_h/2);
shape.addClose();
Haven't got the texture command to work ;)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAADXXGEB3QLJAHL2JMVS3TSIHODRANCNFSM4R5ZTQIA>
.