FreeWRL/FreeX3D  3.0.0
SSRhelper.h
1 #include <pthread.h>
2 enum {
3  SSR_INITPOSE = 0,
4  SSR_POSEPOSE = 1,
5  SSR_POSESNAPSHOT = 2,
6 };
7 typedef struct SSR_request {
8  int type;
9  pthread_mutex_t requester_mutex;
10  pthread_cond_t requester_condition;
11  double quat4[4]; //rot
12  double vec3[3]; //trans
13  char *blob;
14  int len;
15  int answered;
16  //added for ssr2 api
17  int LOD;
18  int levels_available;
19  int status;
20  double extent[6];
21  int isInside;
22  double avatarHeight;
23  double fov;
24  //double aspect;
25 } SSR_request;