Control Surface master
MIDI Control Surface library for Arduino
Classes | Functions
Bresenham.hpp File Reference
#include <AH/Arduino-Wrapper.h>
#include <AH/STL/cmath>
#include <AH/STL/limits>
#include <Printable.h>
#include <Settings/SettingsWrapper.hpp>
+ Include dependency graph for Bresenham.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BresenhamLine
 Line rasterization algorithm for drawing lines to the display. More...
 
struct  BresenhamLine::Pixel
 

Functions

template<typename T >
static constexpr int sgn (T val)
 

Function Documentation

◆ sgn()

static constexpr int sgn ( val)
inlinestaticconstexpr

Definition at line 13 of file Bresenham.hpp.