liballofw
Main Page
Namespaces
Classes
Files
File List
File Members
AllofwModule
liballofw
include
allofw
math
pose.h
Go to the documentation of this file.
1
#ifndef IV_MATH_POSE_H
2
#define IV_MATH_POSE_H
3
4
#include "
vector.h
"
5
#include "
quaternion.h
"
6
7
namespace
allofw
{
8
9
struct
Pose
{
10
Vector3
position
;
11
Quaternion
rotation
;
12
13
Pose
() : position(0, 0, 0), rotation(
Quaternion
::One()) { }
14
15
static
Pose
lookAt
(
Vector3
eye,
Vector3
at,
Vector3
up);
16
};
17
18
}
19
20
#endif
allofw::Pose::lookAt
static Pose lookAt(Vector3 eye, Vector3 at, Vector3 up)
allofw::Pose::position
Vector3 position
Definition:
pose.h:10
allofw::Pose::Pose
Pose()
Definition:
pose.h:13
allofw
Definition:
allofw.h:12
allofw::Pose::rotation
Quaternion rotation
Definition:
pose.h:11
allofw::Quaternion_
Definition:
quaternion.h:9
quaternion.h
vector.h
allofw::Vector3_
Definition:
vector.h:63
allofw::Pose
Definition:
pose.h:9
Generated by
1.8.11