NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
quaternion.c File Reference
#include "quaternion.h"
#include "maths.h"
#include <math.h>
Include dependency graph for quaternion.c:

Functions

quat_t quat_scale (const quat_t *q, float scale)
 
quat_t quat_add (const quat_t *a, const quat_t *b)
 
quat_t quat_normalize (const quat_t *q)
 
quat_t quat_mul (const quat_t *a, const quat_t *b)
 
quat_t quat_inv (const quat_t *q)
 

Function Documentation

quat_t quat_add ( const quat_t a,
const quat_t b 
)
quat_t quat_inv ( const quat_t q)
quat_t quat_mul ( const quat_t a,
const quat_t b 
)
quat_t quat_normalize ( const quat_t q)
quat_t quat_scale ( const quat_t q,
float  scale 
)