FastLED 3.9.15
Loading...
Searching...
No Matches
map_range.h File Reference
#include <stdint.h>
#include "fl/clamp.h"
#include "fl/force_inline.h"
#include "fl/math_macros.h"
+ Include dependency graph for map_range.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::map_range_detail::map_range_math< T, U >
 
struct  fl::map_range_detail::map_range_math< T, vec2< V > >
 
struct  fl::map_range_detail::map_range_math< uint8_t, uint8_t >
 

Namespaces

namespace  fl
 Implements a simple red square effect for 2D LED grids.
 
namespace  fl::map_range_detail
 

Functions

bool fl::map_range_detail::equals (double d, double d2)
 
bool fl::map_range_detail::equals (float a, float b)
 
template<typename T>
bool fl::map_range_detail::equals (T a, T b)
 
template<typename T, typename U>
FASTLED_FORCE_INLINEfl::map_range (T value, T in_min, T in_max, U out_min, U out_max)
 
template<typename T, typename U>
FASTLED_FORCE_INLINEfl::map_range_clamped (T value, T in_min, T in_max, U out_min, U out_max)