diff --git a/packages/edge-curve/src/index.ts b/packages/edge-curve/src/index.ts index 67b2cc5e5..7ca4ea654 100644 --- a/packages/edge-curve/src/index.ts +++ b/packages/edge-curve/src/index.ts @@ -19,7 +19,7 @@ export default class EdgeCurveProgram< > extends EdgeProgram<(typeof UNIFORMS)[number], N, E, G> { getDefinition() { return { - VERTICES: 4, + VERTICES: 6, VERTEX_SHADER_SOURCE, FRAGMENT_SHADER_SOURCE, METHOD: WebGLRenderingContext.TRIANGLES, @@ -40,6 +40,8 @@ export default class EdgeCurveProgram< [0, 1], [0, -1], [1, 1], + [0, -1], + [1, 1], [1, -1], ], };