Algorithms_in_C  1.0.0
Set of algorithms implemented in C.
quaternions.c File Reference

Functions related to 3D quaternions and Euler angles. More...

#include <stdio.h>
#include <math.h>
#include <assert.h>
#include "geometry_datatypes.h"
Include dependency graph for quaternions.c:

Functions

quaternion quat_from_euler (const euler *in_euler)
 Function to convert given Euler angles to a quaternion. More...
 
euler euler_from_quat (const quaternion *in_quat)
 Function to convert given quaternion to Euler angles. More...
 
quaternion quaternion_multiply (const quaternion *in_quat1, const quaternion *in_quat2)
 Function to multiply two quaternions. More...
 
static void test ()
 
int main ()
 

Detailed Description

Functions related to 3D quaternions and Euler angles.

Author
Krishna Vedala