Override this to have a custom shape object used by your renderer.
(int kind, float... p)
| 1910 | |
| 1911 | /** Override this to have a custom shape object used by your renderer. */ |
| 1912 | protected PShape createShapePrimitive(int kind, float... p) { |
| 1913 | // showMethodWarning("createShape()"); |
| 1914 | // return null; |
| 1915 | return new PShape(this, kind, p); |
| 1916 | } |
| 1917 | |
| 1918 | |
| 1919 |