gldesign_tools.c File Reference

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 Documentation

#define _DSCRUCT_SUB   1

Definition at line 8 of file gldesign_tools.c.


Function Documentation

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 
)

Definition at line 482 of file gldesign1.c.

References oldrect, and ortho_width.

BOOL inview ( vertex vp  ) 

void SelectVertexInRectGL ( void   ) 

void MoveInPerspectiveGL ( double  dx,
double  dy 
)

Definition at line 162 of file gldesign_tools.c.

References DrawModel, m4by1, m4by4, MainVp, Nvert, oldrect, rotx, rotz, round_angle, SELECTED, TVsizeX, up_angle, and y1.

void RotateInPerspectiveGL ( double  dx,
double  dy 
)

void ShapeInPerspectiveGL ( double  dx,
double  dy 
)

Definition at line 227 of file gldesign_tools.c.

References DrawModel, m4by1, m4by4, MainVp, Nvert, oldrect, rotx, rotz, round_angle, SELECTED, TVsizeX, up_angle, and y1.


Variable Documentation

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

GLfloat ortho_width

Definition at line 54 of file GLDESIGN.C.

Referenced by initialize(), Ortho2Dto3D(), Ortho3Dto2D(), and resize().

GLfloat up_angle

GLfloat round_angle

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.


Generated on Sun Apr 27 14:20:16 2014 for OpenFX by  doxygen 1.5.6