File: lighting_shade.h

package info (click to toggle)
gimp 2.2.13-1etch4
  • links: PTS
  • area: main
  • in suites: etch
  • size: 94,832 kB
  • ctags: 47,113
  • sloc: ansic: 524,858; xml: 36,798; lisp: 9,870; sh: 9,409; makefile: 7,923; python: 2,674; perl: 2,589; yacc: 520; lex: 334
file content (17 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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);

#endif  /* __LIGHTING_SHADE_H__ */