I would like to utilize some of the 3D shapes in processing.js.
I see that if I was using the processing 'language' I could just
import processing.webgl.*
And the compiler would ignore the import statement.
However I am currently coding in pure javascript and it isn't clear to me how to do this.
Can any one help?
EDIT
To more accurate about my problem, my setup function looks something like this:
p.setup = function() {
p.size(100, 100, P3D);
}
And I receive P3D is undefined