PVector this
in
Programming Questions
•
1 year ago
Hi,
I have a (hopefully) simple question on PVector syntax.
How can I write
... if (vecMesh[i][j] != this) ...
to work relative to PVector use? 'This' seems to relate to object instances, not PVectors. I tried decomposing the vector into x and y components but I can't get this line of code to work.
cadebe
I have a (hopefully) simple question on PVector syntax.
How can I write
... if (vecMesh[i][j] != this) ...
to work relative to PVector use? 'This' seems to relate to object instances, not PVectors. I tried decomposing the vector into x and y components but I can't get this line of code to work.
cadebe
1