mirror of https://github.com/GNOME/gimp.git
24 lines
637 B
C
24 lines
637 B
C
#ifndef LIGHTINGSHADEH
|
|
#define LIGHTINGSHADEH
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <math.h>
|
|
#include <gdk/gdk.h>
|
|
#include <gck/gck.h>
|
|
|
|
#include "lighting_main.h"
|
|
#include "lighting_image.h"
|
|
|
|
typedef GckRGB (*get_ray_func) (GckVector3 *);
|
|
|
|
extern GckRGB get_ray_color (GckVector3 *position);
|
|
extern GckRGB get_ray_color_no_bilinear (GckVector3 *position);
|
|
extern GckRGB get_ray_color_ref (GckVector3 *position);
|
|
extern GckRGB get_ray_color_no_bilinear_ref (GckVector3 *position);
|
|
|
|
extern void precompute_init (gint w,gint h);
|
|
extern void precompute_normals (gint x1,gint x2,gint y);
|
|
|
|
#endif
|