Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
unit-tests
types
rot.h
Go to the documentation of this file.
1
#pragma once
2
3
#define _USE_MATH_DEFINES
4
#include <math.h>
5
6
inline
7
float3x3
rotx
(
float
a
)
8
{
9
double
rad = a * M_PI / 180.;
10
return
{
11
{ 1, 0, 0 },
12
{ 0, float(cos(rad)), float(-sin(rad)) },
13
{ 0, float(sin(rad)), float(cos(rad)) }
14
};
15
}
16
17
18
19
a
GLboolean GLboolean GLboolean GLboolean a
Definition:
glad/glad/glad.h:3065
rotx
float3x3 rotx(float a)
Definition:
rot.h:7
librealsense2
Author(s): Sergey Dorodnicov
, Doron Hirshberg
, Mark Horn
, Reagan Lopez
, Itay Carpis
autogenerated on Mon May 3 2021 02:47:40