My Project: openb3dlib.mod/openb3d/src/quaternion.h File Reference

My Project

Classes | Functions
quaternion.h File Reference
`#include "matrix.h"`

Go to the source code of this file.

## Classes

class | Quaternion

## Functions

void | QuatToMat (float w, float x, float y, float z, Matrix &mat)
void | QuatToEuler (float w, float x, float y, float z, float &pitch, float &yaw, float &roll)
void | Slerp (float Ax, float Ay, float Az, float Aw, float Bx, float By, float Bz, float Bw, float &Cx, float &Cy, float &Cz, float &Cw, float t)

## Function Documentation

## § QuatToEuler()

void QuatToEuler | ( | float | w,
|  | float | x,
|  | float | y,
|  | float | z,
|  | float & | pitch,
|  | float & | yaw,
|  | float & | roll
| ) |  |

## § QuatToMat()

void QuatToMat | ( | float | w,
|  | float | x,
|  | float | y,
|  | float | z,
|  | Matrix & | mat
| ) |  |

## § Slerp()

void Slerp | ( | float | Ax,
|  | float | Ay,
|  | float | Az,
|  | float | Aw,
|  | float | Bx,
|  | float | By,
|  | float | Bz,
|  | float | Bw,
|  | float & | Cx,
|  | float & | Cy,
|  | float & | Cz,
|  | float & | Cw,
|  | float | t
| ) |  |