Skip to content

Commit

Permalink
js: Update simplifyPoints in .module.js to new signature
Browse files Browse the repository at this point in the history
  • Loading branch information
zeux committed Oct 14, 2023
1 parent 2c3d631 commit 49b930c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/meshopt_simplifier.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var MeshoptSimplifier = (function() {
return simplifyScale(instance.exports.meshopt_simplifyScale, vertex_positions, vertex_positions.length / vertex_positions_stride, vertex_positions_stride * 4);
},

simplifyPoints: function(vertex_positions, vertex_positions_stride, vertex_colors, vertex_colors_stride, color_weight, target_vertex_count) {
simplifyPoints: function(vertex_positions, vertex_positions_stride, target_vertex_count, vertex_colors, vertex_colors_stride, color_weight) {
assert(vertex_positions instanceof Float32Array);
assert(vertex_positions.length % vertex_positions_stride == 0);
assert(vertex_positions_stride >= 3);
Expand Down

0 comments on commit 49b930c

Please sign in to comment.