SetYaw() публичный Метод

public SetYaw ( double yaw ) : void
yaw double
Результат void
Пример #1
0
        // Interpolate between current and target orientation over the duration
        public override void Update(double elapsedTime, SpaceCraftBase spaceCraft)
        {
            double ratio = (elapsedTime - StartTime) / Duration;

            spaceCraft.SetYaw(_currentOrientation * (1 - ratio) + _targetOrientation * ratio);
        }
Пример #2
0
 public override void Finalize(SpaceCraftBase spaceCraft)
 {
     spaceCraft.SetYaw(_targetOrientation);
 }