コード例 #1
0
ファイル: Radians.cs プロジェクト: VoodooLlama/ultraviolet
        /// <summary>
        /// Interpolates between this value and the specified value.
        /// </summary>
        /// <param name="target">The target value.</param>
        /// <param name="t">A value between 0.0 and 1.0 representing the interpolation factor.</param>
        /// <returns>The interpolated value.</returns>
        public Radians Interpolate(Radians target, Single t)
        {
            var angle = Tweening.Lerp(this.value, target.value, t);

            return(new Radians(angle));
        }