Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : PShape.translate does not seem to update vertex position. Bug?

$
0
0
I don't think so. Translate doesn't affect individual vertices, but rather the PShape's PMatrix. In other words, the vertices are (individual) object coordinates, while operations like translate, rotate, scale affect the world coordinates (of the whole shape). Note that this is more efficient, because you change a matrix instead of possibly a lot of vertices. At least that's my $0.02.

Viewing all articles
Browse latest Browse all 1768

Trending Articles