Unravel Engine C++ Reference
Loading...
Searching...
No Matches
gradient.h File Reference
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include "color.h"
#include "gradient.hpp"

Go to the source code of this file.

Classes

struct  math::gradient_point< T >
 
class  math::gradient< T >
 

Namespaces

namespace  math
 

Enumerations

enum class  math::gradient_interpolation_mode_t { math::linear , math::constant }
 

Functions

template<typename T >
auto math::gradient_lerp (const T &start, const T &end, float progress) -> T
 
template<typename T >
auto math::operator< (const gradient_point< T > &lhs, const gradient_point< T > &rhs) noexcept -> bool
 
template<typename T >
auto math::operator== (const gradient_point< T > &lhs, const gradient_point< T > &rhs) noexcept -> bool