(String name, int index, float... values)
| 1755 | |
| 1756 | |
| 1757 | @Override |
| 1758 | public void setAttrib(String name, int index, float... values) { |
| 1759 | if (openShape) { |
| 1760 | PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setNormal()"); |
| 1761 | return; |
| 1762 | } |
| 1763 | |
| 1764 | VertexAttribute attrib = attribImpl(name, VertexAttribute.OTHER, PGL.FLOAT, |
| 1765 | values.length); |
| 1766 | float[] array = inGeo.fattribs.get(name); |
| 1767 | for (int i = 0; i < values.length; i++) { |
| 1768 | array[attrib.size * index + i] = values[i]; |
| 1769 | } |
| 1770 | markForTessellation(); |
| 1771 | } |
| 1772 | |
| 1773 | |
| 1774 | @Override |
nothing calls this directly
no test coverage detected