I’m currently writing a Mathlibrary. And it is kind of annoying to always have to use
new Matrix(m)
it would be better if I could use something like
m.toMatrix()
Is there a possibility to do that?
I’m currently writing a Mathlibrary. And it is kind of annoying to always have to use
new Matrix(m)
it would be better if I could use something like
m.toMatrix()
Is there a possibility to do that?
I don’t think you can do this directly but you could make a class floatTupel
OR use PVector with extends, see reference