Skip to content

Commit

Permalink
fix: change manifold_calculate_normals min_sharp_angle type to double (
Browse files Browse the repository at this point in the history
  • Loading branch information
NickUfer authored Dec 1, 2024
1 parent 2162d8d commit 8556840
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/c/include/manifold/manifoldc.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ double manifold_min_gap(ManifoldManifold *m, ManifoldManifold *other,
double searchLength);
ManifoldManifold *manifold_calculate_normals(void *mem, ManifoldManifold *m,
int normal_idx,
int min_sharp_angle);
double min_sharp_angle);

// CrossSection Shapes/Constructors
ManifoldCrossSection *manifold_cross_section_empty(void *mem);
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/manifoldc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,7 @@ double manifold_min_gap(ManifoldManifold *m, ManifoldManifold *other,

ManifoldManifold *manifold_calculate_normals(void *mem, ManifoldManifold *m,
int normal_idx,
int min_sharp_angle) {
double min_sharp_angle) {
auto man = from_c(m)->CalculateNormals(normal_idx, min_sharp_angle);
return to_c(new (mem) Manifold(man));
}
Expand Down

0 comments on commit 8556840

Please sign in to comment.