All pastes #490736 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-16 06:09 UTC
rendered paste body
            foreach (Texture2D texture in textureBasket)
            {
                foreach (Vector2 position in vectorBasket)
                {
                    Rectangle sourceRectangle = new Rectangle(0, 0, texture.Width, texture.Height);
                    spriteBatch.Draw(texture,
                                     position,
                                    sourceRectangle,
                                    color,
                                    0.0f,
                                    new Vector2(0, 0),
                                    1.0f,
                                    SpriteEffects.None,
                                    layer);
                }
            }