1
Graphics / Chain of transformation, how to?
« on: January 03, 2011, 05:01:52 pm »
Oh, it's great! How soon?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
QuoteAlso, I cant find a way to draw a quad from texture to quad on screen. It's impossible too?
Can't you do this with a sprite?
Sprite's don't affect the original image, they are just a set of values that will be used when it's protected sf::Drawable::Render method is called. So they don't do anything until the sprite is actually being drawn.
spr.Scale( sx1,sy1 );
spr.Rotate( ang1 );
spr.Scale( sx2,sy2 );