~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/MapObject/mapobject_shade.h

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2008-10-06 13:30:41 UTC
  • mto: This revision was merged to the branch mainline in revision 35.
  • Revision ID: james.westby@ubuntu.com-20081006133041-3panbkcanaymfsmp
Tags: upstream-2.6.0
ImportĀ upstreamĀ versionĀ 2.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __MAPOBJECT_SHADE_H__
2
 
#define __MAPOBJECT_SHADE_H__
3
 
 
4
 
typedef GimpRGB (* get_ray_color_func) (GimpVector3 *pos);
5
 
 
6
 
extern get_ray_color_func get_ray_color;
7
 
 
8
 
GimpRGB   get_ray_color_plane    (GimpVector3 *pos);
9
 
GimpRGB   get_ray_color_sphere   (GimpVector3 *pos);
10
 
GimpRGB   get_ray_color_box      (GimpVector3 *pos);
11
 
GimpRGB   get_ray_color_cylinder (GimpVector3 *pos);
12
 
void     compute_bounding_box   (void);
13
 
 
14
 
void     vecmulmat              (GimpVector3 *u,
15
 
                                 GimpVector3 *v,
16
 
                                 gfloat       m[16]);
17
 
void     rotatemat              (gfloat       angle,
18
 
                                 GimpVector3 *v,
19
 
                                 gfloat       m[16]);
20
 
void     transpose_mat          (gfloat       m[16]);
21
 
void     matmul                 (gfloat       a[16],
22
 
                                 gfloat       b[16],
23
 
                                 gfloat       c[16]);
24
 
void     ident_mat              (gfloat       m[16]);
25
 
 
26
 
#endif  /* __MAPOBJECT_SHADE_H__ */