Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.

Commit 229a00e

Browse files
committed
Simplify bounding box
1 parent e354acf commit 229a00e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Source/SharpDX.Mathematics/BoundingBox.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public Vector3 Size
114114
/// </summary>
115115
public Vector3 Center
116116
{
117-
get { return this.Minimum + (this.Maximum - this.Minimum) * 0.5f; }
117+
get { return (this.Maximum + this.Minimum) * 0.5f; }
118118
}
119119

120120
/// <summary>

0 commit comments

Comments
 (0)