yse BLI_math for the compositor in more places.
This commit is contained in:
@@ -329,9 +329,7 @@ void MemoryBuffer::readEWA(float result[4], float fx, float fy, float dx, float
|
||||
float tc[4];
|
||||
const float wt = EWA_WTS[(Q < 0.f) ? 0 : (unsigned int)Q];
|
||||
read(tc, clipuv(u, width), clipuv(v, height));
|
||||
result[0] += tc[0]*wt;
|
||||
result[1] += tc[1]*wt;
|
||||
result[2] += tc[2]*wt;
|
||||
madd_v3_v3fl(result, tc, wt);
|
||||
result[3] += result[3] ? tc[3]*wt : 0.f;
|
||||
d += wt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user