1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 04:20:27 +01:00

Remove dead code from wrlib

This commit is contained in:
Tamas TEVESZ
2010-03-25 03:32:52 +01:00
committed by Carlos R. Mafra
parent 7d905787d2
commit 28cbda550a
6 changed files with 1 additions and 330 deletions

View File

@@ -133,19 +133,6 @@ RImage *RScaleImage(RImage * image, unsigned new_width, unsigned new_height)
/*
* filter function definitions
*/
#if 0
#define filter_support (1.0)
static double filter(double t)
{
/* f(t) = 2|t|^3 - 3|t|^2 + 1, -1 <= t <= 1 */
if (t < 0.0)
t = -t;
if (t < 1.0)
return ((2.0 * t - 3.0) * t * t + 1.0);
return (0.0);
}
#endif
#define box_support (0.5)
static double box_filter(double t)