gimp/plug-ins/lighting/lighting-shade.h
Téo Mazars b4b85cf853 Bug 683153 - Lighting effects - bump mapping: top two rows of pixels are...
Init and interpolate the topmost row to avoid the use of a zero array.
2013-02-16 21:39:47 +01:00

21 lines
768 B
C

#ifndef __LIGHTING_SHADE_H__
#define __LIGHTING_SHADE_H__
typedef GimpRGB (* get_ray_func) (GimpVector3 *vector);
GimpRGB get_ray_color (GimpVector3 *position);
GimpRGB get_ray_color_no_bilinear (GimpVector3 *position);
GimpRGB get_ray_color_ref (GimpVector3 *position);
GimpRGB get_ray_color_no_bilinear_ref (GimpVector3 *position);
void precompute_init (gint w,
gint h);
void precompute_normals (gint x1,
gint x2,
gint y);
void interpol_row (gint x1,
gint x2,
gint y);
#endif /* __LIGHTING_SHADE_H__ */