public Box2 ( System.Vector2 topLeft, System.Vector2 bottomRight ) : System | ||
topLeft | System.Vector2 | AnOpenTK.Vector2 describing the top-left corner of the Box2. |
bottomRight | System.Vector2 | An OpenTK.Vector2 describing the bottom-right corner of the Box2. |
리턴 | System |
public Box2(Vector2 topLeft, Vector2 bottomRight)
{
Left = topLeft.X;
Top = topLeft.Y;
Right = topLeft.X;
Bottom = topLeft.Y;
}
Box2::Box2 ( float left, float top, float right, float bottom ) : System |