RetroArch
guQuaternion Struct Reference

Quaternion type consisting of an (x,y,z) vector component and a (w) scalar component. More...

#include <gu.h>

Detailed Description

Quaternion type consisting of an (x,y,z) vector component and a (w) scalar component.

This struct is used by gu library function such as guQuatMtx(), which generates a rotation matrix from a quaternion.

Note
This is a generic structure which can be used in any situation or function that accepts an array or struct with four f32 values.

The documentation for this struct was generated from the following file: