rtengine: added rescale.h header with rescaleBilinear and rescaleNearest
taken from tmo_fattal02.cc and moved in their own header to allow reuse
This commit is contained in:
@@ -267,11 +267,11 @@ public:
|
||||
ar_realloc(w, h);
|
||||
memcpy(data, copy, w * h * sizeof(T));
|
||||
}
|
||||
int width()
|
||||
int width() const
|
||||
{
|
||||
return x;
|
||||
}
|
||||
int height()
|
||||
int height() const
|
||||
{
|
||||
return y;
|
||||
}
|
||||
|
Reference in New Issue
Block a user