All pastes #233377 Raw Edit

Unnamed

public text v1 · immutable
·published 2006-11-01 22:30 UTC
rendered paste body
        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);
            }
        };