Krig Game Engine
Loading...
Searching...
No Matches
Quaternion.h File Reference

Quaternion representation for 3D rotations. More...

Go to the source code of this file.

Classes

class  Quaternion

Detailed Description

Quaternion representation for 3D rotations.

Quaternions are used throughout the engine for all rotation operations. The standard pipeline is: build with buildFromEuler or buildFromAxis, compose rotations with operator*, then emit a column-major rotation matrix with buildRotationMatrix for use with OpenGL.

See: https://en.wikipedia.org/wiki/Quaternion