mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 13:17:00 -04:00
start with implementing fields
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@12 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
+1
-1
@@ -37,7 +37,7 @@ class BezierCurve {
|
||||
return d + (c + (b + a * t) * t) * t;
|
||||
}
|
||||
|
||||
/// 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 {
|
||||
return c + ((b * 2) + (a * 3) * t) * t;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user