チェンジセット 3195: as3/BezierSegment
- コミット日時:
- 2009/10/29 19:28:42 (3 年前)
- ファイル:
凡例:
- 変更無し
- 追加
- 削除
- 更新
- コピー
- 移動
as3/BezierSegment/src/jp/ferv/geom/QuadraticBezierSegment.as
r3193 r3195 46 46 47 47 private static const ELLIPSE_RATIO:Number = Math.SQRT2 - 1; 48 private static const CUBIC_RATIO:Number = 2 / 3; 48 49 49 50 … … 281 282 } 282 283 284 public function toCubic():CubicBezierSegment 285 { 286 return new CubicBezierSegment(_anchor0.clone(), Point.interpolate(_handle, _anchor0, CUBIC_RATIO), Point.interpolate(_handle, _anchor1, CUBIC_RATIO), _anchor1, interpolate); 287 } 288 283 289 public function toString():String 284 290 {

