-
-
Couldn't load subscription status.
- Fork 16
Description
The vertex() method documentation contains this signature:
vertex(
v: npt.NDArray[np.floating], # vertical coordinate data for the texture mapping
/,
) -> NoneThis signature is referring to the feature undocumented in Processing that allows you pass 37 floats to this method to set the vertex's position, stroke, fill, stroke weight, etc. The variable name happens to be v, which is the same as the v typically used for uv texture mapping. This explains the incorrect parameter description above.
To address this, the generator code needs to intercept the Java info and override this part of the data. Setting the parameter name to something unique will let me write the correct description and include it in the documentation.
Py5Graphics.vertex() also has this same problem.
Are there other methods that have incorrect variable descriptions?