yocto/yocto_gl.cpp
inline float filter_triangle(float x) {
      x = (float)fabs(x);
      if (x <= 1.0f) return 1 - x;
      return 0;
    }
// triangle filter (public domain from stb_image_resize)
triangle filter (public domain from stb_image_resize)
triangle filter ( public domain from stb_image_resize )
inline float filter_triangle(float x) {
      x = (float)fabs(x);
      if (x <= 1.0f) return 1 - x;
      return 0;
    }
inline float filter_triangle ( float x ) { x = ( float ) fabs ( x ) ; if ( x <= 1.0f ) return 1 - x ; return 0 ; }
triangle filter (public domain from stb_image_resize)
triangle filter ( public domain from stb_image_resize )