Unravel Engine C++ Reference
Loading...
Searching...
No Matches
gradient.cpp File Reference
#include "gradient.h"

Go to the source code of this file.

Namespaces

namespace  math
 

Functions

template<>
auto math::gradient_lerp (const vec4 &start, const vec4 &end, float progress) -> vec4
 
template<>
auto math::gradient_lerp (const vec3 &start, const vec3 &end, float progress) -> vec3
 
template<>
auto math::gradient_lerp (const vec2 &start, const vec2 &end, float progress) -> vec2
 
template<>
auto math::gradient_lerp (const float &start, const float &end, float progress) -> float
 
template<>
auto math::gradient_lerp (const color &start, const color &end, float progress) -> color
 
auto math::to_string (gradient_interpolation_mode_t mode) -> std::string
 
auto math::interpolation_mode_from_string (const std::string &mode) -> gradient_interpolation_mode_t