Go to the source code of this file.
Defines | |
#define | _DSCRUCT_SUB 1 |
Functions | |
void | Ortho2Dto3D (int x, int y, GLfloat *xx, GLfloat *yy) |
void | Ortho3Dto2D (int *x, int *y, GLfloat xx, GLfloat yy) |
BOOL | inview (vertex *vp) |
void | SelectVertexInRectGL (void) |
void | MoveInPerspectiveGL (double dx, double dy) |
void | RotateInPerspectiveGL (double dx, double dy) |
void | ShapeInPerspectiveGL (double dx, double dy) |
Variables | |
SelXs | |
SelYs | |
SelXc | |
SelYc | |
GLfloat | vertex_scale |
GLfloat | ortho_width |
GLfloat | up_angle |
GLfloat | round_angle |
int * | Tool |
RECT | oldrect |
#define _DSCRUCT_SUB 1 |
Definition at line 8 of file gldesign_tools.c.
void Ortho2Dto3D | ( | int | x, | |
int | y, | |||
GLfloat * | xx, | |||
GLfloat * | yy | |||
) |
Definition at line 474 of file gldesign1.c.
References oldrect, and ortho_width.
Referenced by DrawSelectionBox(), and SelectVertexInRectGL().
void Ortho3Dto2D | ( | int * | x, | |
int * | y, | |||
GLfloat | xx, | |||
GLfloat | yy | |||
) |
BOOL inview | ( | vertex * | vp | ) |
void SelectVertexInRectGL | ( | void | ) |
Definition at line 113 of file gldesign_tools.c.
References DESELECTED, DESELECTOR, DrawModel, inview(), m4by1, MainVp, max, min, Nvert, NvertDeselect, NvertSelect, Ortho2Dto3D(), round_angle, SELECTED, SELECTOR, SelXc, SelXs, SelYc, SelYs, Tool, TVpointX, TVpointY, TVpointZ, TVsizeX, TVsizeY, TVsizeZ, up_angle, UpdateCounters, vertex_scale, x, y, and z.
void MoveInPerspectiveGL | ( | double | dx, | |
double | dy | |||
) |
void RotateInPerspectiveGL | ( | double | dx, | |
double | dy | |||
) |
void ShapeInPerspectiveGL | ( | double | dx, | |
double | dy | |||
) |
Definition at line 47 of file GLDESIGN.C.
Referenced by DrawSelectionBox(), RotateInPerspectiveGL(), and SelectVertexInRectGL().
Definition at line 47 of file GLDESIGN.C.
Referenced by DrawSelectionBox(), RotateInPerspectiveGL(), and SelectVertexInRectGL().
Definition at line 47 of file GLDESIGN.C.
Referenced by DrawSelectionBox(), and SelectVertexInRectGL().
Definition at line 47 of file GLDESIGN.C.
Referenced by DrawSelectionBox(), and SelectVertexInRectGL().
GLfloat vertex_scale |
Definition at line 54 of file GLDESIGN.C.
Referenced by DrawGlNurbs(), DrawModelEdges(), DrawProjectMapRectangle(), Make3dDisplayList(), Make3dDisplayListProg(), RotateInPerspectiveGL(), and SelectVertexInRectGL().
GLfloat ortho_width |
Definition at line 54 of file GLDESIGN.C.
Referenced by initialize(), Ortho2Dto3D(), Ortho3Dto2D(), and resize().
GLfloat up_angle |
Definition at line 51 of file GLDESIGN.C.
Referenced by drawScene(), MoveInPerspectiveGL(), RotateInPerspectiveGL(), SelectVertexInRectGL(), and ShapeInPerspectiveGL().
GLfloat round_angle |
Definition at line 51 of file GLDESIGN.C.
Referenced by drawScene(), MoveInPerspectiveGL(), RotateInPerspectiveGL(), SelectVertexInRectGL(), and ShapeInPerspectiveGL().
int* Tool |
Definition at line 46 of file GLDESIGN.C.
Referenced by _AttachViewOpenGL(), DrawSelectionBox(), and SelectVertexInRectGL().
RECT oldrect |
Definition at line 73 of file gldesign1.c.