コード例 #1
0
ファイル: ConstantLinearSpeedCurve.cs プロジェクト: zhuowp/ge
 /// <summary>
 /// Constructs a new constant speed curve.
 /// </summary>
 /// <param name="speed">Speed to maintain while traveling around a curve.</param>
 /// <param name="curve">Curve to wrap.</param>
 /// <param name="sampleCount">Number of samples to use when constructing the wrapper curve.
 /// More samples increases the accuracy of the speed requirement at the cost of performance.</param>
 public ConstantLinearSpeedCurve(float speed, Curve <System.Numerics.Vector3> curve, int sampleCount)
     : base(speed, curve, sampleCount)
 {
 }
コード例 #2
0
ファイル: ConstantLinearSpeedCurve.cs プロジェクト: zhuowp/ge
 /// <summary>
 /// Constructs a new constant speed curve.
 /// </summary>
 /// <param name="speed">Speed to maintain while traveling around a curve.</param>
 /// <param name="curve">Curve to wrap.</param>
 public ConstantLinearSpeedCurve(float speed, Curve <System.Numerics.Vector3> curve)
     : base(speed, curve)
 {
 }