VARJO TRACKING PLUGIN SDK DOCUMENTATION
Varjo_types.h
Go to the documentation of this file.
1 // Copyright 2019 Varjo Technologies Oy. All rights reserved.
2 
3 #ifndef VARJO_TYPES_H
4 #define VARJO_TYPES_H
5 
6 #include <stdint.h>
7 
8 #if defined __cplusplus
9 extern "C" {
10 #endif
11 
15 typedef int32_t varjo_Bool;
16 static const varjo_Bool varjo_False = 0;
17 static const varjo_Bool varjo_True = 1;
18 
22 typedef int64_t varjo_Nanoseconds;
23 
27 typedef struct varjo_Vector3D {
28  double x;
29  double y;
30  double z;
32 
33 #if defined __cplusplus
34 }
35 #endif
36 
37 #endif // VARJO_TYPES_H
double x
X coordinate.
Definition: Varjo_types.h:28
int32_t varjo_Bool
Type representing logical values - True and False.
Definition: Varjo_types.h:15
64bit floating point 3D vector.
Definition: Varjo_types.h:27
int64_t varjo_Nanoseconds
Time in nanoseconds.
Definition: Varjo_types.h:22
static const varjo_Bool varjo_False
Value representing False.
Definition: Varjo_types.h:16
double z
Z coordinate.
Definition: Varjo_types.h:30
struct varjo_Vector3D varjo_Vector3D
64bit floating point 3D vector.
double y
Y coordinate.
Definition: Varjo_types.h:29
static const varjo_Bool varjo_True
Value representing True.
Definition: Varjo_types.h:17