compatibility with wxWdigets 2.9+: Vector2D: prevent ambiguous conversion errors

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1539 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:13:08 +00:00
parent a9a50c358a
commit 7bad6c5ada
+1 -1
View File
@@ -41,7 +41,7 @@ class BezierCurve {
/// Return the tangent on this curve at time t in [0...1)
inline Vector2D tangentAt(double t) const {
return c + ((b * 2) + (a * 3) * t) * t;
return c + ((b * 2.) + (a * 3.) * t) * t;
}
};