Simox  2.3.74.0
simox::color::interpol Namespace Reference

Functions

Color linear (float t, const Color &lhs, const Color &rhs)
 Interpolate linearly in RGB space. More...
 
Color linear_hsv (float t, const Color &lhs, const Color &rhs)
 Interpolate linearly in HSV space. (lhs and rhs are expected to be RGB.) More...
 

Function Documentation

◆ linear()

Color simox::color::interpol::linear ( float  t,
const Color lhs,
const Color rhs 
)

Interpolate linearly in RGB space.

◆ linear_hsv()

Color simox::color::interpol::linear_hsv ( float  t,
const Color lhs,
const Color rhs 
)

Interpolate linearly in HSV space. (lhs and rhs are expected to be RGB.)