File: lighting-shade.h

package info (click to toggle)
gimp 2.6.10-1%2Bsqueeze4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128,948 kB
  • ctags: 55,327
  • sloc: ansic: 635,142; lisp: 10,678; sh: 10,420; makefile: 9,729; python: 3,366; perl: 2,713; xml: 1,152; yacc: 554; lex: 339
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__ */