diff --git a/poly2tri/common/shapes.h b/poly2tri/common/shapes.h index 92ad27d..557c0eb 100644 --- a/poly2tri/common/shapes.h +++ b/poly2tri/common/shapes.h @@ -62,8 +62,8 @@ struct Point { /// Set this point to all zeros. void set_zero() { - x = 0.0f; - y = 0.0f; + x = 0.0; + y = 0.0; } /// Set this point to some specified coordinates.