コード例 #1
0
ファイル: TSMath.cs プロジェクト: tangeping/SurvivalShooter
 /// <summary>
 /// Rounds a value to the nearest integral value.
 /// If the value is halfway between an even and an uneven value, returns the even value.
 /// </summary>
 public static FP Round(FP value)
 {
     return(FP.Round(value));
 }