MCPcopy Create free account
hub / github.com/admtrv/objcurses / lerp

Function lerp

utils/algorithms.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56// main functions
57
58float lerp(const float a, const float b, const float t)
59{
60 return a + (b - a) * t;
61}
62
63std::optional<std::vector<size_t>> triangularize(const std::vector<Vec3> &points)
64{

Callers 2

limit_y1Method · 0.85
limit_y2Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected