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

Method v

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

Adds a vertex to this MeshBuilder

(float x, float y, float z)

Source from the content-addressed store, hash-verified

402 FloatBuffer dest = ensureSize(0, 3, vertexCursor);
403 dest.put(x);
404 dest.put(y);
405 dest.put(z);
406
407 writeAux(vertexCursor);
408
409 vertexCursor++;
410 return this;
411 }
412
413 public MeshBuilder raw_v(float[] f) {
414 FloatBuffer dest = ensureSize(0, 3, vertexCursor + f.length / 3);
415 dest.put(f);
416 vertexCursor += f.length / 3;
417 return this;

Callers 6

drawIntoMethod · 0.95
compositeWithMethod · 0.95
blurIntoMethod · 0.95
defaultMeshMethod · 0.95
lineMethod · 0.95
addMeshMethod · 0.95

Calls 3

ensureSizeMethod · 0.95
writeAuxMethod · 0.95
putMethod · 0.45

Tested by

no test coverage detected