差分

ナビゲーションに移動 検索に移動

AABB

36 バイト除去, 2017年11月10日 (金) 11:48
public AABB(Vector3 from, Vector3 to)
{
this.From = new Vector3(MathHelperMath.Min(from.X, to.X), MathHelperMath.Min(from.Y, to.Y), MathHelperMath.Min(from.Z, to.Z)); this.To = new Vector3(MathHelperMath.Max(from.X, to.X), MathHelperMath.Max(from.Y, to.Y), MathHelperMath.Max(from.Z, to.Z));
}
匿名利用者

案内メニュー