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

Method skipTo

src/main/java/field/graphics/MeshBuilder.java:363–368  ·  view source on GitHub ↗

Can all the calls to v, e and aux, between these two bookmarks be skipped? Returns true if we have skipped forward, false otherwise.

(Bookmark from, Bookmark to)

Source from the content-addressed store, hash-verified

361 if (!from.stillValid() || from.getOuter() != this) return false;
362 vertexCursor = to.vertexCursor;
363 elementCursor = to.elementCursor;
364 return true;
365 }
366
367 /**
368 * Can all the calls to v, e and aux, between these two bookmarks be skipped? Returns true if we have skipped forward, false otherwise. Bookmarks can be unskippable because
369 * externalHashes have changed, because internalHashes have changed (for example an aux channgel has been added) or because the geometry layout has changed (the number of vertices or elements
370 * added up to this point is different).
371 * <p>

Callers 5

renderToPointsMethod · 0.45
renderToLineMethod · 0.45
renderToMeshMethod · 0.45
drawMethod · 0.45

Calls 5

stillValidMethod · 0.80
getOuterMethod · 0.80
resetMethod · 0.65
acceptMethod · 0.65
runMethod · 0.45

Tested by

no test coverage detected