Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
MeshFunctions.cpp File Reference
Include dependency graph for MeshFunctions.cpp:

Namespaces

namespace  sgui

Functions

void sgui::computeMesh (Mesh &mesh, const sf::FloatRect &box)
 Compute mesh quad coordinates.
void sgui::computeMeshTexture (Mesh &Mesh, const sf::IntRect &textureRect)
 compute texture coordinates from a rect
void sgui::rotateMeshTexture (Mesh &mesh)
 Rotate a mesh texture by 90°