sftools  2.0 dev
Bunch of tools for SFML application development
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Classes | Namespaces | Typedefs
Curve.hpp File Reference

Define Curve drawable. More...

#include <SFML/Graphics.hpp>
#include <cmath>
+ Include dependency graph for Curve.hpp:

Go to the source code of this file.

Classes

struct  sftools::CurveInfo
 Holds all informations used to compute the points of a curve. More...
 
class  sftools::Curve
 Drawable representing a mathematical curve. More...
 

Namespaces

namespace  sftools
 Simple and Fast Tools.
 

Typedefs

typedef std::function
< sf::Vector2f(float)> 
sftools::CurveFunction
 Type of a curve's function.
 

Detailed Description

Define Curve drawable.

Note
Requires C++11

Definition in file Curve.hpp.