Commit f3a5d5b7 authored by Benedikt Zoennchen's avatar Benedikt Zoennchen Committed by Benedikt Zoennchen

dist mesh changes

parent 87921029
......@@ -43,6 +43,7 @@ public class CLGatherer {
return vertexBuffer;
}
// TODO: maybe remove duplicated edges
public static <P extends IPoint> IntBuffer getEdges(@NotNull final AMesh<P> mesh) {
Collection<AHalfEdge<P>> edges = mesh.getEdges();
IntBuffer edgeBuffer = MemoryUtil.memAllocInt(edges.size()*4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment