Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/math_interp.c
| Context not available. | |||||
| CLAMP(y1, 0, height - 1); | CLAMP(y1, 0, height - 1); | ||||
| /* normally we could do this */ | /* normally we could do this */ | ||||
| /* w = P(n-a) * P(b-m); */ | /* w = P(n-a) * P(b-m); */ | ||||
| /* except that would call P() 16 times per pixel therefor pow() 64 times, better precalc these */ | /* except that would call P() 16 times per pixel therefore pow() 64 times, better precalc these */ | ||||
| w = wx * wy[m + 1]; | w = wx * wy[m + 1]; | ||||
| if (float_output) { | if (float_output) { | ||||
| Context not available. | |||||