group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
Orientation.hpp File Reference

Orientation + angular velocity components for dynamic rigid bodies. More...

#include <glm/gtc/quaternion.hpp>
#include <glm/vec3.hpp>
Include dependency graph for Orientation.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Orientation
 World-space orientation as a unit quaternion. Identity = no rotation. More...
struct  AngularVelocity
 Body-space angular velocity in radians per second (axis-magnitude). More...

Detailed Description

Orientation + angular velocity components for dynamic rigid bodies.

Kept separate from Position to avoid disturbing the existing Position { glm::vec3 value } layout (which is replicated heavily across the codebase). Entities without Orientation are treated as fixed-orientation kinematic / static bodies — most of the game today.