liballofw
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 {
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
static Pose lookAt(Vector3 eye, Vector3 at, Vector3 up)
Vector3 position
Definition: pose.h:10
Pose()
Definition: pose.h:13
Definition: allofw.h:12
Quaternion rotation
Definition: pose.h:11
Definition: quaternion.h:9
Definition: vector.h:63
Definition: pose.h:9