Setting normals didn't work as I expected.
in
Programming Questions
•
1 year ago
I created a PShape insance and put some vertices and normals inside,
but found that the normals did not put as I expected.
How does the
- PShape.normal(float x, float y, float z)
works?
How the order when I use the function effects?
after the PShape.vertex()?
To order them as I expected, I just used the function
- PShape.setNormal(int index, float x, float y, float z);
and it worked clearly, but I want to know they way the 'normal()' works...
Please help.
(i'm in 2.0a7)
1