I have a class that holds another class called BezierMethods for some basic methods.
The PApplet needs to be registered to use bezierPoint etc. also there is one field called stepAccuracy which is a float.
There is no need to have more than one class BezierMethods, however atm depending on what i do i can end up in having thousands of them.
I readed a lot of implementing singleton and i like this one the most:
But can i use this? And if sow, what is a efficient way to register the PApplet (once)?
1