mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 12:32:37 +00:00
2042f4f9e6
2008-03-24 Michael Natterer <mitch@gimp.org> * plug-ins/map-object * plug-ins/gradient-flare * plug-ins/ifs-compose * plug-ins/selection-to-path * plug-ins/lighting * plug-ins/help-browser * plug-ins/fli: rename files in these folders to have no underscores and match new names of the plug-ins. * configure.in: changed accordingly. svn path=/trunk/; revision=25197
27 lines
861 B
C
27 lines
861 B
C
#ifndef __MAPOBJECT_SHADE_H__
|
|
#define __MAPOBJECT_SHADE_H__
|
|
|
|
typedef GimpRGB (* get_ray_color_func) (GimpVector3 *pos);
|
|
|
|
extern get_ray_color_func get_ray_color;
|
|
|
|
GimpRGB get_ray_color_plane (GimpVector3 *pos);
|
|
GimpRGB get_ray_color_sphere (GimpVector3 *pos);
|
|
GimpRGB get_ray_color_box (GimpVector3 *pos);
|
|
GimpRGB get_ray_color_cylinder (GimpVector3 *pos);
|
|
void compute_bounding_box (void);
|
|
|
|
void vecmulmat (GimpVector3 *u,
|
|
GimpVector3 *v,
|
|
gfloat m[16]);
|
|
void rotatemat (gfloat angle,
|
|
GimpVector3 *v,
|
|
gfloat m[16]);
|
|
void transpose_mat (gfloat m[16]);
|
|
void matmul (gfloat a[16],
|
|
gfloat b[16],
|
|
gfloat c[16]);
|
|
void ident_mat (gfloat m[16]);
|
|
|
|
#endif /* __MAPOBJECT_SHADE_H__ */
|