Unnamed
public text v1 · immutable private struct ScreenQuad
{
public Vector2 TopLeft;
public Vector2 TopRight;
public Vector2 BottomLeft;
public Vector2 BottomRight;
//Constructor for a ScreenQuad
public ScreenQuad(float width, float height)
{
this.TopLeft = new Vector2(0);
this.TopRight = new Vector2(width, 0);
this.BottomLeft = new Vector2(0, height);
this.BottomRight = new Vector2(width, height);
}
};