![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
A colour over a span from 0 to 1, straight between its keys in linear RGBA. More...
#include <curve.h>
Public Member Functions | |
| glm::vec4 | at (float t) const |
The colour at t. | |
A colour over a span from 0 to 1, straight between its keys in linear RGBA.
None reads white; one reads its colour throughout; before the first key and after the last the end colour holds.
|
inline |
The colour at t.
| t | Where in the span, 0 to 1. |