Ah yes, I found the solution. I added it to my question It works
ps. I found it thanks to the source code linked by @neilcsmith at Is it possible to extend the classes PGraphics/ PGraphics3D?
Ah yes, I found the solution. I added it to my question It works
ps. I found it thanks to the source code linked by @neilcsmith at Is it possible to extend the classes PGraphics/ PGraphics3D?