X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2Ftrunk%2FETL%2F_surface.h;h=b91ab9839ab4dfa9adfbaaf92032e7fcb8e4e311;hb=20a38826ee92a217ecbe472a90797788b58e0a9f;hp=bba578faf5ec8a5500a4424549f893b1330f5000;hpb=8fd07c649f1bdc488aa8e2f9c2a522ca689b798f;p=synfig.git diff --git a/ETL/trunk/ETL/_surface.h b/ETL/trunk/ETL/_surface.h index bba578f..b91ab98 100644 --- a/ETL/trunk/ETL/_surface.h +++ b/ETL/trunk/ETL/_surface.h @@ -410,7 +410,7 @@ public: #define R(x) ( P(x+2) - 4.0f*P(x+1) + 6.0f*P(x) - 4.0f*P(x-1) )*(1.0f/6.0f) #define F(i,j) (cooker_.cook((*this)[max(min(j+v,h_-1),0)][max(min(i+u,w_-1),0)])*(R((i)-a)*R(b-(j)))) #define Z(i,j) ret+=F(i,j) - #define X(i,j) // placeholder... To make box more symetric + #define X(i,j) // placeholder... To make box more symmetric int u(floor_to_int(x)), v(floor_to_int(y)); float a, b;