summaryrefslogtreecommitdiffstats
path: root/plug-ins/lighting/lighting-shade.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
commite42129241681dde7adae7d20697e7b421682fbb4 (patch)
treeaf1fe815a5e639e68e59fabd8395ec69458b3e5e /plug-ins/lighting/lighting-shade.h
parentInitial commit. (diff)
downloadgimp-e42129241681dde7adae7d20697e7b421682fbb4.tar.xz
gimp-e42129241681dde7adae7d20697e7b421682fbb4.zip
Adding upstream version 2.10.22.upstream/2.10.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--plug-ins/lighting/lighting-shade.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/plug-ins/lighting/lighting-shade.h b/plug-ins/lighting/lighting-shade.h
new file mode 100644
index 0000000..536df95
--- /dev/null
+++ b/plug-ins/lighting/lighting-shade.h
@@ -0,0 +1,20 @@
+#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__ */