libigl v2.5.0
Loading...
Searching...
No Matches
quat_conjugate.h File Reference
#include "igl_inline.h"
#include "quat_conjugate.cpp"

Go to the source code of this file.

Namespaces

namespace  igl
 

Functions

template<typename Q_type >
void igl::quat_conjugate (const Q_type *q1, Q_type *out)
 Compute conjugate of given quaternion http://en.wikipedia.org/wiki/Quaternion#Conjugation.2C_the_norm.2C_and_reciprocal A Quaternion, q, is defined here as an arrays of four scalars (x,y,z,w), such that q = x*i + y*j + z*k + w.