From cf97ff84a9c8a613ce124fe9e0cdf64589b31518 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 11 Oct 2010 07:54:46 +0000 Subject: [PATCH] Fixed issue [#2072]: "Box2 constructor bug". --- Source/OpenTK/Math/Box2.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/OpenTK/Math/Box2.cs b/Source/OpenTK/Math/Box2.cs index cbc22b4c..4c54b622 100644 --- a/Source/OpenTK/Math/Box2.cs +++ b/Source/OpenTK/Math/Box2.cs @@ -45,8 +45,8 @@ namespace OpenTK { Left = topLeft.X; Top = topLeft.Y; - Right = topLeft.X; - Bottom = topLeft.Y; + Right = bottomRight.X; + Bottom = bottomRight.Y; } ///