Skip to content

Commit

Permalink
[edge-curve] Fixes missing vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
jacomyal committed Mar 13, 2024
1 parent be1ae79 commit 7be2cd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/edge-curve/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -40,6 +40,8 @@ export default class EdgeCurveProgram<
[0, 1],
[0, -1],
[1, 1],
[0, -1],
[1, 1],
[1, -1],
],
};
Expand Down

0 comments on commit 7be2cd1

Please sign in to comment.