sKit  0.0.9
sKit::geom::vertex Namespace Reference

Vertex generators. More...

Functions

template<typename T >
auto arc (float x, float y, float radius, float theta, float width, float height, unsigned int resolution=100) -> std::vector< T >
 

Detailed Description

Vertex generators.

Function Documentation

◆ arc()

template<typename T >
auto sKit::geom::vertex::arc ( float  x,
float  y,
float  radius,
float  theta,
float  width,
float  height,
unsigned int  resolution = 100 
) -> std::vector<T>

Definition at line 69 of file shapes.hpp.

References sKit::math::map().