4#include <SFML/Graphics/Rect.hpp>
5#include <SFML/Graphics/Vertex.hpp>
9using Mesh = std::array <sf::Vertex, 6>;
Definition Interpolation.h:16
void rotateMeshTexture(Mesh &mesh)
Rotate a mesh texture by 90°
Definition MeshFunctions.cpp:40
void computeMeshTexture(Mesh &mesh, const sf::IntRect &textureBox)
compute texture coordinates from a rect
Definition MeshFunctions.cpp:23
std::array< sf::Vertex, 6 > Mesh
Definition MeshFunctions.h:9
void computeMesh(Mesh &mesh, const sf::FloatRect &box)
Compute mesh quad coordinates.
Definition MeshFunctions.cpp:6