coastline 0.0.4
Loading...
Searching...
No Matches
Quaternion Struct Reference

A rotation as a unit quaternion. More...

#include <rigidbody.h>

Public Attributes

f32 w
f32 x
f32 y
f32 z

Detailed Description

A rotation as a unit quaternion.

Member Data Documentation

◆ w

f32 Quaternion::w

The scalar part, the cosine of half the angle of the rotation.

◆ x

f32 Quaternion::x

The x component of the vector part.

◆ y

f32 Quaternion::y

The y component of the vector part.

◆ z

f32 Quaternion::z

The z component of the vector part.


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