Go to the source code of this file.
Defines | |
#define | DOS386 |
#define | _X__FAR |
#define | PI 3.1415926 |
#define | min(a, b) ( ((a) < (b)) ? (a) : (b) ) |
#define | max(a, b) ( ((a) > (b)) ? (a) : (b) ) |
#define | UNIT 32768L |
#define | UNIT2 65536L |
#define | MINUNIT 2048L |
#define | MAXUNIT 4194304L |
#define | PI2 PI/2 |
#define | DESELECTED 0 |
#define | SELECTED 1 |
#define | HIDDEN 2 |
#define | INEDITOR 6 |
#define | FAIL -1 |
#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 | DOT(a, b) ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
#define | CROSS(v1, v2, r) |
Typedefs | |
typedef unsigned char | COLOUR [3] |
typedef struct tagMapVRML | MapVRML |
Functions | |
void | CreateVRMLfile (FILE *dxfp) |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
long | _Export (HWND parent_window, char *filename, X__STRUCTURE *lpevi) |
BOOL | _Xmodeler (HWND parent_window, HWND info_window, X__STRUCTURE *lpevi) |
#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 DOT | ( | a, | |||
b | ) | ( (a[0]*b[0]) + (a[1]*b[1]) + (a[2]*b[2]) ) |
#define CROSS | ( | v1, | |||
v2, | |||||
r | ) |
typedef struct tagMapVRML MapVRML |
void CreateVRMLfile | ( | FILE * | dxfp | ) |
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 543 of file VRMLOUT.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.
long _Export | ( | HWND | parent_window, | |
char * | filename, | |||
X__STRUCTURE * | lpevi | |||
) |
Definition at line 701 of file VRMLOUT.C.
References AppendFileExtension, CreateVRMLfile(), hThisInstance, lrulerx, lrulery, lrulerz, Nface, NvertSelect, ruler, X__Free, and X__Malloc.
BOOL _Xmodeler | ( | HWND | parent_window, | |
HWND | info_window, | |||
X__STRUCTURE * | lpevi | |||
) |