Tencent_Panorama_SDK_v1.1.3
QOrientation.h
1 //
2 // QOrientation.h
3 // QPanoramaKit_Debug
4 //
5 // Created by xfang on 15/3/5.
6 // Copyright (c) 2015年 tencent. All rights reserved.
7 //
8 
9 #import <CoreLocation/CoreLocation.h>
10 
11 #ifndef QORIENTATION_H
12 #define QORIENTATION_H
13 
17 typedef struct {
18 
19  //偏航角
20  const CLLocationDirection heading;
21 
22  //俯仰角
23  const double pitch;
24 
25 } QOrientation;
26 
27 #ifdef __cplusplus
28 extern "C"{
29 #endif
30 
31 static inline QOrientation QOrientationMake(CLLocationDirection heading, double pitch)
32 {
33  QOrientation orientation = {heading, pitch};
34  return orientation;
35 }
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif
偏航俯仰角结构体
Definition: QOrientation.h:17