lighting-shade.h 768 Bytes
Newer Older
1 2
#ifndef __LIGHTING_SHADE_H__
#define __LIGHTING_SHADE_H__
Manish Singh's avatar
Manish Singh committed
3

4
typedef GimpRGB (* get_ray_func) (GimpVector3 *vector);
Manish Singh's avatar
Manish Singh committed
5

6 7 8 9
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);
Manish Singh's avatar
Manish Singh committed
10

11 12 13 14 15
void    precompute_init               (gint         w,
				       gint         h);
void    precompute_normals            (gint         x1,
				       gint         x2,
				       gint         y);
16 17 18
void    interpol_row                  (gint         x1,
                                       gint         x2,
                                       gint         y);
Manish Singh's avatar
Manish Singh committed
19

20
#endif  /* __LIGHTING_SHADE_H__ */