getEdgeVertex method
Get an edge vertex @param firstOrSecond 0 or 1, depending on which one of the vertices you need. @param vertexStore Where to store the result
Implementation
void getEdgeVertex(int edgeIndex, int firstOrSecond, Vec3 vertexStore) {
final vertexIndex = edges[edgeIndex * 2 + firstOrSecond];
getVertex(vertexIndex, vertexStore);
}