Nxna2
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Enumerations
Enumerator
Pages
src
Quaternion.h
1
#ifndef NXNA_QUATERNION_H
2
#define NXNA_QUATERNION_H
3
4
namespace
Nxna
5
{
6
struct
Quaternion
7
{
8
public
:
9
10
Quaternion
()
11
{
12
X = Y = Z = W = 0;
13
}
14
15
Quaternion
(
float
x,
float
y,
float
z,
float
w)
16
{
17
X = x;
18
Y = y;
19
Z = z;
20
W = w;
21
}
22
23
float
X, Y, Z, W;
24
25
static
Quaternion
CreateFromYawPitchRoll(
float
yaw,
float
pitch,
float
roll);
26
27
static
void
Multiply(
const
Quaternion
& q1,
const
Quaternion
& q2,
Quaternion
& result);
28
};
29
}
30
31
#endif // NXNA_QUATERNION_H
Nxna::Quaternion
Definition:
Quaternion.h:6
Generated on Sun Aug 7 2016 12:28:15 for Nxna2 by
1.8.7