2022-09-23 01:45:38 +08:00
|
|
|
#ifndef _GEEKTRACK_SDK_H_
|
|
|
|
#define _GEEKTRACK_SDK_H_
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
float x, y, z;
|
|
|
|
}EulerAngles_t;
|
|
|
|
|
2022-09-26 23:15:28 +08:00
|
|
|
typedef struct {
|
|
|
|
float w, x, y, z;
|
|
|
|
}Quaternion_t;
|
2022-09-23 01:45:38 +08:00
|
|
|
|
|
|
|
__declspec(dllexport) void GeekTrack_Init();
|
|
|
|
|
2022-09-26 21:14:37 +08:00
|
|
|
__declspec(dllexport) EulerAngles_t GetEulerAngles(int devId);
|
2022-09-26 23:15:28 +08:00
|
|
|
|
|
|
|
__declspec(dllexport) Quaternion_t GetQuaternion(int devId);
|
2022-09-23 01:45:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|