From 105c2f16cc100e990f21660300af02e6d41bd56f Mon Sep 17 00:00:00 2001 From: zzzzrrr Date: Wed, 19 Jan 2011 20:54:27 -0500 Subject: [PATCH] fixed Point::set_zero() --- poly2tri/common/shapes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.