Specifies an amount to displace the shape. The x parameter specifies left/right translation, the y parameter specifies up/down translation, and the z parameter specifies translations toward/away from the screen. Subsequent calls to the method accumulates the effect. For example,
(float x, float y)
| 3141 | * @see PShape#resetMatrix() |
| 3142 | */ |
| 3143 | public void translate(float x, float y) { |
| 3144 | checkMatrix(2); |
| 3145 | matrix.translate(x, y); |
| 3146 | } |
| 3147 | |
| 3148 | /** |
| 3149 | * @param z forward/back translation |
nothing calls this directly
no test coverage detected