mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
f9f4411f53
2000-02-18 Michael Natterer <mitch@gimp.org> * libgimp/Makefile.am * libgimp/gimppixmap.[ch]: simple widget which creates a pixmap from XPM data without the need to worry about it's parent's "realized" state and other stuff. * libgimp/gimpcolorbutton.c: removed a gtk-doc comment from an internal function. * libgimp/gimpwidgets.[ch]: new function gimp_pixmap_button_new(). * app/gimpui.h * libgimp/gimpui.h: include gimppixmap.h. * app/gradient.c * app/nav_window.c * app/palette.c * libgimp/gimpfileselection.[ch] * libgimp/gimppatheditor.c * libgimp/gimpquerybox.c * plug-ins/FractalExplorer/FractalExplorer.c: use GimpPixmaps. * plug-ins/Lighting/* * plug-ins/MapObject/*: some more cleanups: reduced # of includes, made private functions static, use GimpPixmaps. * plug-ins/libgck/Makefile.am * plug-ins/libgck/NEWS * plug-ins/libgck/README * plug-ins/libgck/TODO * plug-ins/libgck/docs/html/gck.html * plug-ins/libgck/docs/html/gck_application_window.html * plug-ins/libgck/docs/html/gck_dialog_window.html * plug-ins/libgck/docs/html/gckmath.html * plug-ins/libgck/docs/html/gckui.html * plug-ins/libgck/docs/html/gckvector.html: removed because they documented files which don't exist any more.
51 lines
824 B
C
51 lines
824 B
C
#ifndef __ARCBALL_H__
|
|
#define __ARCBALL_H__
|
|
|
|
typedef struct
|
|
{
|
|
double x, y, z, w;
|
|
} Quat;
|
|
|
|
enum QuatPart
|
|
{
|
|
X,
|
|
Y,
|
|
Z,
|
|
W,
|
|
QuatLen
|
|
};
|
|
|
|
typedef Quat HVect;
|
|
|
|
typedef double HMatrix[QuatLen][QuatLen];
|
|
|
|
typedef enum AxisSet
|
|
{
|
|
NoAxes,
|
|
CameraAxes,
|
|
BodyAxes,
|
|
OtherAxes,
|
|
NSets
|
|
} AxisSet;
|
|
|
|
typedef double *ConstraintSet;
|
|
|
|
extern Quat qOne;
|
|
|
|
void ArcBall_Init (void);
|
|
void ArcBall_Place (HVect Center,
|
|
double Radius);
|
|
void ArcBall_UseSet (AxisSet axis_Set);
|
|
void ArcBall_Update (void);
|
|
void ArcBall_Value (HMatrix m_Now);
|
|
void ArcBall_Values (double *alpha,
|
|
double *beta,
|
|
double *gamma);
|
|
void ArcBall_BeginDrag (void);
|
|
void ArcBall_EndDrag (void);
|
|
void ArcBall_Mouse (HVect v_Now);
|
|
void ArcBall_CopyMat (HMatrix inm,
|
|
HMatrix outm);
|
|
|
|
#endif /* __ARCBALL_H__ */
|