1
General discussions / Extremely important question for Friday
« on: February 03, 2012, 07:01:35 pm »
Very oddly shaped glasses of water?
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.
It's not a wrong usage, just a bug that will be fixed quickly after SFML 2 is released
It's a known bug
sf::Text text;
text.SetFont(font);
sf::Text text("Hello SFML", font, 50);
Code: [Select]sf::Transform transform;
transform.Translate(x, y);
window.Draw(vertexArray, transform);
Quote from: "Laurent"
To move a single vertex array, use a sf::Transform with a translation inside.
I apologize for threadjacking, but how would I do this? Do I need to use sf::Transform::GetMatrix and use that on the vertex array, or is there a more direct way that I am missing? I'm using a version of SFML2 that I grabbed from the git repo on 22.1.
To move a single vertex array, use a sf::Transform with a translation inside.