MCPcopy Create free account
hub / github.com/RenderKit/embree / lerpr

Function lerpr

tutorials/common/math/vec.h:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17// FIXME: change order of lerp arguments, then remove this function
18template<typename V>
19__forceinline V lerpr(float t, const V& v0, const V& v1) {
20 return (1.0f-t)*v0 + t*v1;
21}
22
23// -------------------------------------------------------
24// sRGB conversion functions

Callers 1

bilerpFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected