X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fgeometry%2Fangle.h;h=fe4895cfe7635ebe85e58e83b353b81dc2561208;hb=HEAD;hp=2d178d2235128f6e88a62d37fc00dfd8f0d09988;hpb=540bea4f0254725c003c73f7340c1d48ac0c86f5;p=libs%2Fmath.git diff --git a/source/geometry/angle.h b/source/geometry/angle.h index 2d178d2..fe4895c 100644 --- a/source/geometry/angle.h +++ b/source/geometry/angle.h @@ -155,7 +155,7 @@ inline T operator/(const Angle &a1, const Angle &a2) template inline Angle &Angle::wrap_with_base(const Angle &b) { - const float two_pi = 6.28318530717958647692; + const T two_pi = 6.28318530717958647692; while(value=b.value+two_pi)