Esempio n. 1
0
 /// <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)
 {
 }
Esempio n. 2
0
 /// <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)
 {
 }