MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / trimVertexLimit

Method trimVertexLimit

src/main/java/field/graphics/BaseMesh.java:184–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

182 }
183
184 public void trimVertexLimit() {
185 int limit = limitVertex;
186 for (int i = 0; i < buffers.length; i++) {
187 ArrayBuffer o = buffers[i];
188 if (o != null) limit = Math.min(limit, o.getSize());
189 }
190 limitVertex = limit;
191 }
192
193 public void trimElementLimit() {
194 if (elements == null) return;

Callers 3

setVertexLimitMethod · 0.95
setVertexMaxMethod · 0.95
performMethod · 0.95

Calls 2

getSizeMethod · 0.95
minMethod · 0.45

Tested by

no test coverage detected