Go to the source code of this file.
Data Structures | |
struct | DesignerGLMAPtag |
Structure used in Designer OpenGL view window . More... | |
Defines | |
#define | _WIN32_WINNT 0x0500 |
#define | PLANE 0 |
#define | CYLINDER 1 |
#define | PLANE_MOZIAC 2 |
#define | CYLINDER_MOZIAC 3 |
#define | MAP_BY_VERTEX 4 |
#define | MAP_SPHERICAL 5 |
#define | STATICBRUSH 0 |
#define | ANIMBRUSH 1 |
#define | BUMPBRUSH 2 |
#define | REFLBRUSH 3 |
#define | DESELECTED 0 |
#define | SELECTED 1 |
#define | HIDDEN 2 |
#define | MAX_FILE 255 |
#define | MAX_DIR 255 |
#define | IDM_WINDOW_SHOWOPENGL 17130 |
#define | StartWait() hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT)) |
#define | EndWait() SetCursor(hcurSave) |
#define | WM_INIT (WM_USER+1) |
#define | WM_UPDATE (WM_USER+2) |
#define | WM_UPDATE_MAP (WM_USER+3) |
#define | WM_LOAD_MAPS (WM_USER+4) |
#define | WM_SHOWMAP (WM_USER+6) |
#define | BOUND(x, min, max) ((x) < (min) ? (min) : ((x) > (max) ? (max) : (x))) |
#define | VECSUB(a, b, c) { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
#define | VECSUM(a, b, c) { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
#define | VECSCALE(a, b, c) { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
#define | VECCOPY(a, c) { c[0]=a[0]; c[1]=a[1]; c[2]=a[2];} |
#define | DOT(a, b) ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
#define | CROSS(v1, v2, r) |
#define | checkImageWidth 64 |
#define | checkImageHeight 64 |
Typedefs | |
typedef struct DesignerGLMAPtag | GLMAP |
Structure used in Designer OpenGL view window . | |
typedef GLfloat | normal [3] |
#define _WIN32_WINNT 0x0500 |
Definition at line 7 of file gldesign1.h.
#define PLANE 0 |
Definition at line 26 of file gldesign1.h.
#define CYLINDER 1 |
Definition at line 27 of file gldesign1.h.
#define PLANE_MOZIAC 2 |
Definition at line 28 of file gldesign1.h.
#define CYLINDER_MOZIAC 3 |
Definition at line 29 of file gldesign1.h.
#define MAP_BY_VERTEX 4 |
Definition at line 30 of file gldesign1.h.
#define MAP_SPHERICAL 5 |
Definition at line 31 of file gldesign1.h.
Referenced by AssignMappingCoordinatesToVertices(), DrawBrushInOne(), ExecuteLockAction(), GetMapNormal(), and MapFromProjection().
#define STATICBRUSH 0 |
Definition at line 32 of file gldesign1.h.
#define ANIMBRUSH 1 |
Definition at line 33 of file gldesign1.h.
#define BUMPBRUSH 2 |
Definition at line 34 of file gldesign1.h.
#define REFLBRUSH 3 |
Definition at line 35 of file gldesign1.h.
#define DESELECTED 0 |
Definition at line 37 of file gldesign1.h.
#define SELECTED 1 |
Definition at line 38 of file gldesign1.h.
#define HIDDEN 2 |
Definition at line 39 of file gldesign1.h.
#define MAX_FILE 255 |
Definition at line 41 of file gldesign1.h.
#define MAX_DIR 255 |
Definition at line 42 of file gldesign1.h.
#define IDM_WINDOW_SHOWOPENGL 17130 |
Definition at line 65 of file gldesign1.h.
#define StartWait | ( | ) | hcurSave = SetCursor(LoadCursor(NULL,IDC_WAIT)) |
Definition at line 67 of file gldesign1.h.
#define EndWait | ( | ) | SetCursor(hcurSave) |
Definition at line 68 of file gldesign1.h.
#define WM_INIT (WM_USER+1) |
#define WM_UPDATE (WM_USER+2) |
Definition at line 71 of file gldesign1.h.
#define WM_UPDATE_MAP (WM_USER+3) |
Definition at line 72 of file gldesign1.h.
#define WM_LOAD_MAPS (WM_USER+4) |
Definition at line 73 of file gldesign1.h.
#define WM_SHOWMAP (WM_USER+6) |
Definition at line 75 of file gldesign1.h.
Definition at line 79 of file gldesign1.h.
#define VECSUB | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]-b[0]; c[1]=a[1]-b[1]; c[2]=a[2]-b[2];} |
Definition at line 81 of file gldesign1.h.
#define VECSUM | ( | a, | |||
b, | |||||
c | ) | { c[0]=a[0]+b[0]; c[1]=a[1]+b[1]; c[2]=a[2]+b[2];} |
Definition at line 82 of file gldesign1.h.
#define VECSCALE | ( | a, | |||
b, | |||||
c | ) | { c[0]=(a)*b[0]; c[1]=(a)*b[1]; c[2]=(a)*b[2];} |
Definition at line 83 of file gldesign1.h.
#define VECCOPY | ( | a, | |||
c | ) | { c[0]=a[0]; c[1]=a[1]; c[2]=a[2];} |
Definition at line 84 of file gldesign1.h.
#define DOT | ( | a, | |||
b | ) | ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
Definition at line 85 of file gldesign1.h.
#define CROSS | ( | v1, | |||
v2, | |||||
r | ) |
Value:
{ \ r[0] = (v1[1]*v2[2]) - (v2[1]*v1[2]); \ r[1] = (v1[2]*v2[0]) - (v1[0]*v2[2]); \ r[2] = (v1[0]*v2[1]) - (v2[0]*v1[1]); \ }
Definition at line 86 of file gldesign1.h.
#define checkImageWidth 64 |
#define checkImageHeight 64 |
typedef GLfloat normal[3] |
Definition at line 77 of file gldesign1.h.