CommonLibSSE (Parapets fork)
Hmd.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace vr
4 {
5  // right-handed system
6  // +y is up
7  // +x is to the right
8  // -z is forward
9  // Distance unit is meters
11  {
12  float m[3][4];
13  };
14 
16  {
17  float m[4][4];
18  };
19 
20  struct HmdVector3_t
21  {
22  float v[3];
23  };
24 
25  struct HmdVector4_t
26  {
27  float v[4];
28  };
29 
31  {
32  double v[3];
33  };
34 
35  struct HmdVector2_t
36  {
37  float v[2];
38  };
39 
41  {
42  double w, x, y, z;
43  };
44 
45  struct HmdColor_t
46  {
47  float r, g, b, a;
48  };
49 
50  struct HmdQuad_t
51  {
53  };
54 
55  struct HmdRect2_t
56  {
59  };
60 }
Definition: COpenVRContext.h:4
Definition: Hmd.h:46
float g
Definition: Hmd.h:47
float b
Definition: Hmd.h:47
float r
Definition: Hmd.h:47
float a
Definition: Hmd.h:47
Definition: Hmd.h:11
float m[3][4]
Definition: Hmd.h:12
Definition: Hmd.h:16
float m[4][4]
Definition: Hmd.h:17
Definition: Hmd.h:51
HmdVector3_t vCorners[4]
Definition: Hmd.h:52
Definition: Hmd.h:41
double z
Definition: Hmd.h:42
double x
Definition: Hmd.h:42
double y
Definition: Hmd.h:42
double w
Definition: Hmd.h:42
Definition: Hmd.h:56
HmdVector2_t vTopLeft
Definition: Hmd.h:57
HmdVector2_t vBottomRight
Definition: Hmd.h:58
Definition: Hmd.h:36
float v[2]
Definition: Hmd.h:37
Definition: Hmd.h:21
float v[3]
Definition: Hmd.h:22
Definition: Hmd.h:31
double v[3]
Definition: Hmd.h:32
Definition: Hmd.h:26
float v[4]
Definition: Hmd.h:27