truncate or extend the size of the meshes element storage
(int limit)
| 174 | * truncate or extend the size of the meshes element storage |
| 175 | */ |
| 176 | public void setElementMax(int limit) { |
| 177 | if (elements == null) return; |
| 178 | |
| 179 | if (limit != elements.getSize()) elements = elements.replaceWithSize(limit); |
| 180 | |
| 181 | limitElement = maxElement = elements.getSize(); |
| 182 | } |
| 183 | |
| 184 | public void trimVertexLimit() { |
| 185 | int limit = limitVertex; |
no test coverage detected