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

Function bilerp

tutorials/common/texture/texture2d.cpp:122–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122inline Vec4f bilerp(const Vec2f frac, const Vec4f c00, const Vec4f c01, const Vec4f c10, const Vec4f c11)
123{
124 return lerpr(frac.y,
125 lerpr(frac.x, c00, c01),
126 lerpr(frac.x, c10, c11));
127}
128
129
130// Implementations of Texture2D_get for different formats and filter modi

Callers

nothing calls this directly

Calls 1

lerprFunction · 0.85

Tested by

no test coverage detected