Skip to content

Commit

Permalink
fix: "Grid3DLayer: surfaces are not displayed on firefox" (#1766)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilscb authored Nov 9, 2023
1 parent 3ac763f commit 1846a4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ export function makeFullMesh(e: { data: WebWorkerParams }): void {
positions: { value: new Float32Array(triang_points), size: 3 },
properties: { value: new Float32Array(vertexProperties), size: 1 },
},
vertexCount: triang_points.length,
vertexCount: triang_points.length / 3,
};

const mesh_lines: MeshTypeLines = {
Expand Down

0 comments on commit 1846a4d

Please sign in to comment.