mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-12 13:37:00 -04:00
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:
+1
-1
@@ -41,7 +41,7 @@ class BezierCurve {
|
|||||||
|
|
||||||
/// Return the tangent on this curve at time t in [0...1)
|
/// Return the tangent on this curve at time t in [0...1)
|
||||||
inline Vector2D tangentAt(double t) const {
|
inline Vector2D tangentAt(double t) const {
|
||||||
return c + ((b * 2) + (a * 3) * t) * t;
|
return c + ((b * 2.) + (a * 3.) * t) * t;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user