Zephyr Scientific Library (zscilib)
Data Structures | Enumerations
Structs, Enums and Macros

Various structs, enums and macros related to quaternions. More...

Data Structures

struct  zsl_quat
 Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations. More...
 

Enumerations

enum  zsl_quat_type {
  ZSL_QUAT_TYPE_EMPTY = 0,
  ZSL_QUAT_TYPE_IDENTITY = 1
}
 Represents various 'types' of quaternions that can be initialised with the zsl_quat_init function. More...
 

Detailed Description

Various structs, enums and macros related to quaternions.

Enumeration Type Documentation

◆ zsl_quat_type

Represents various 'types' of quaternions that can be initialised with the zsl_quat_init function.

Enumerator
ZSL_QUAT_TYPE_EMPTY 
ZSL_QUAT_TYPE_IDENTITY 

Indicates no rotation, with the scalar value set to 1 and imaginary values set to 0.

Definition at line 111 of file quaternions.h.