|
Smolgui
Immediate gui library based on SFML
|
#include <array>#include <vector>#include <SFML/System/Vector2.hpp>#include "sgui/Core/Shapes.tpp"Go to the source code of this file.
Classes | |
| struct | sgui::Line< Type > |
| Define a line with two points. More... | |
| struct | sgui::Circle< Type > |
| Define a Circle with a center and a radius. More... | |
Namespaces | |
| namespace | sgui |
Typedefs | |
| using | sgui::LineFloat = Line<float> |
| using | sgui::CircleFloat = Circle<float> |
Functions | |
| template<typename Type> | |
| constexpr sf::Vector2f | sgui::centroid (const std::vector< sf::Vector2< Type > > &vertices) |
| Return center of a set of points. | |
Variables | |
| constexpr float | sgui::Pi = 3.14159265359f |
| constexpr float | sgui::PiRad = 3.14159265359f / 180.f |