draw graph edges much faster (using raw vertex array)

This commit is contained in:
2026-03-06 21:16:57 +01:00
parent 591f018685
commit e482adbb76
8 changed files with 152 additions and 51 deletions

9
shader/edge_vertex.glsl Normal file
View File

@ -0,0 +1,9 @@
#version 330
in vec3 vertexPosition;
uniform mat4 mvp;
void main()
{
gl_Position = mvp * vec4(vertexPosition, 1.0);
}