SDK DOCUMENTATION
Varjo_math.h
Go to the documentation of this file.
1 // Copyright 2019 Varjo Technologies Oy. All rights reserved.
2 
3 #ifndef VARJO_MATH_H
4 #define VARJO_MATH_H
5 
6 #include "Varjo_export.h"
7 #include "Varjo_types.h"
8 
9 #if defined __cplusplus
10 extern "C" {
11 #endif
12 
27 VARJO_API struct varjo_Vector3D varjo_GetEulerAngles(
28  struct varjo_Matrix* matrix, varjo_EulerOrder order, varjo_RotationDirection direction, varjo_Handedness handedness);
29 
35 VARJO_API struct varjo_Vector3D varjo_GetPosition(struct varjo_Matrix* matrix);
36 
37 #if defined __cplusplus
38 }
39 #endif
40 
41 #endif // VARJO_MATH_H
struct varjo_Vector3D varjo_GetEulerAngles(struct varjo_Matrix *matrix, varjo_EulerOrder order, varjo_RotationDirection direction, varjo_Handedness handedness)
Extracts the euler angles in radians from the given matrix.
Definition: Varjo_types.h:209
int64_t varjo_EulerOrder
Definition: Varjo_types.h:151
Double precision 4x4 matrix.
Definition: Varjo_types.h:186
struct varjo_Vector3D varjo_GetPosition(struct varjo_Matrix *matrix)
Gets the translation part from a transformation matrix.
int64_t varjo_Handedness
Definition: Varjo_types.h:163
int64_t varjo_RotationDirection
Definition: Varjo_types.h:159