Go to the source code of this file.
Defines | |
#define | DOS386 |
#define | _X__FAR |
#define | PI 3.1415926 |
Typedefs | |
typedef double | quaternion [4] |
Functions | |
void | EulerToQuaternion (double p, double t, double a, quaternion q) |
void | TransformOrientation (double phi, double theta, double alpha, double *ux, double *uy, double *uz, double *ua) |
void | CreateVRMLfile (FILE *dxfp) |
BOOL WINAPI | DllMain (HANDLE hDLL, DWORD dwReason, LPVOID lpReserved) |
long | _Export (HWND parent_window, char *filename, ANI_STRUCTURE *lpevi) |
#define _X__FAR |
Definition at line 25 of file VRMLX.C.
Referenced by CreateEdge1(), CreateFace(), CreateSkeleton(), CreateVertex(), get_mapping_coords(), WriteEdges(), WriteFaces(), WriteSkeleton(), WriteTextures(), and WriteVertices().
typedef double quaternion[4] |
void EulerToQuaternion | ( | double | p, | |
double | t, | |||
double | a, | |||
quaternion | q | |||
) |
void TransformOrientation | ( | double | phi, | |
double | theta, | |||
double | alpha, | |||
double * | ux, | |||
double * | uy, | |||
double * | uz, | |||
double * | ua | |||
) |
Definition at line 179 of file VRMLX.C.
References EulerToQuaternion(), and PI.
Referenced by CreateVRMLfile().
void CreateVRMLfile | ( | FILE * | dxfp | ) |
Definition at line 195 of file VRMLX.C.
References Animator_NODE::actorname, ANIMOBJ, CAMERA, Animator_OBJECT::colour, Animator_SKY::colour, CurrentFrame, double, FALSE, Animator_OBJECT::firstframe, Animator_SKY::firstframe, FirstNp, Animator_NODE::fobj, Animator_NODE::fpos, frac, Animator_NODE::fsky, GetTransform, Animator_OBJECT::grefl, GROUND, Animator_POSITION::lastframe, LIGHT, Animator_OBJECT::lighttype, Animator_OBJECT::name, Animator_OBJECT::next, Animator_SKY::next, Animator_NODE::next, Animator_POSITION::next, Nframes, NORMAL, SelectedCamera, SKY, SPOTLIGHT, TransformOrientation(), TRUE, Animator_OBJECT::type, Animator_NODE::type, UNIT, and Animator_SKY::zcolour.
Referenced by _Export().
BOOL WINAPI DllMain | ( | HANDLE | hDLL, | |
DWORD | dwReason, | |||
LPVOID | lpReserved | |||
) |
Definition at line 462 of file VRMLX.C.
References DLL_PROCESS_ATTACH, DLL_PROCESS_DETACH, FALSE, hThisInstance, and TRUE.
long _Export | ( | HWND | parent_window, | |
char * | filename, | |||
ANI_STRUCTURE * | lpevi | |||
) |
Definition at line 641 of file VRMLX.C.
References AppendFileExtension, CreateVRMLfile(), and hThisInstance.
Referenced by _Xmodeler().