17 explicit orientation(
const glm::vec3& pointing = {0, 0, -1},
18 const glm::vec3& up = {0, 1, 0});
20 glm::vec3 get_pointing()
const;
21 void set_pointing(
const glm::vec3& u);
23 glm::vec3 get_up()
const;
24 void set_up(
const glm::vec3& u);
26 glm::mat4 get_matrix()
const;
28 template <
typename Archive>
29 void serialize(Archive&);
Definition: capsule_base.h:9
Invariant: pointing_ is a unit vector.
Definition: orientation.h:15