#include <vhdQuaternion.h>
vhdQuaternion::vhdQuaternion | ( | vhtReal | fW = 1.0 , |
|
vhtReal | fX = 0.0 , |
|||
vhtReal | fY = 0.0 , |
|||
vhtReal | fZ = 0.0 | |||
) |
vhdQuaternion::vhdQuaternion | ( | const vhdQuaternion & | rkQ | ) |
void vhdQuaternion::fromRotationMatrix | ( | const vhdMatrix3 & | kRot | ) |
void vhdQuaternion::toRotationMatrix | ( | vhdMatrix3 & | kRot | ) | const |
void vhdQuaternion::fromAngleAxis | ( | const vhtReal & | rfAngle, | |
const vhdVector3 & | rkAxis | |||
) |
void vhdQuaternion::toAngleAxis | ( | vhtReal & | rfAngle, | |
vhdVector3 & | rkAxis | |||
) | const |
void vhdQuaternion::fromAxes | ( | const vhdVector3 * | akAxis | ) |
void vhdQuaternion::fromAxes | ( | const vhdVector3 & | xAxis, | |
const vhdVector3 & | yAxis, | |||
const vhdVector3 & | zAxis | |||
) |
void vhdQuaternion::toAxes | ( | vhdVector3 * | akAxis | ) | const |
void vhdQuaternion::toAxes | ( | vhdVector3 & | xAxis, | |
vhdVector3 & | yAxis, | |||
vhdVector3 & | zAxis | |||
) |
vhdQuaternion vhdQuaternion::normalize | ( | ) | const |
vhdQuaternion & vhdQuaternion::operator= | ( | const vhdQuaternion & | rkQ | ) |
vhdQuaternion vhdQuaternion::operator+ | ( | const vhdQuaternion & | rkQ | ) | const |
vhdQuaternion vhdQuaternion::operator- | ( | const vhdQuaternion & | rkQ | ) | const |
vhdQuaternion vhdQuaternion::operator * | ( | const vhdQuaternion & | rkQ | ) | const |
vhdQuaternion vhdQuaternion::operator *= | ( | const vhdQuaternion & | rkQ | ) |
vhdQuaternion vhdQuaternion::operator/= | ( | vhtReal | fScalar | ) |
vhdQuaternion vhdQuaternion::operator/ | ( | vhtReal | fScalar | ) | const |
vhdQuaternion vhdQuaternion::operator *= | ( | vhtReal | fScalar | ) |
vhdQuaternion vhdQuaternion::operator * | ( | vhtReal | fScalar | ) | const |
vhdQuaternion vhdQuaternion::operator- | ( | ) | const |
bool vhdQuaternion::operator== | ( | const vhdQuaternion & | rhs | ) | const |
vhtReal vhdQuaternion::dot | ( | const vhdQuaternion & | rkQ | ) | const |
vhtReal vhdQuaternion::norm | ( | ) | const |
vhdQuaternion vhdQuaternion::inverse | ( | ) | const |
vhdQuaternion vhdQuaternion::unitInverse | ( | ) | const |
vhdQuaternion vhdQuaternion::exp | ( | ) | const |
vhdQuaternion vhdQuaternion::log | ( | ) | const |
vhdVector3 vhdQuaternion::operator * | ( | const vhdVector3 & | rkvhdVector | ) | const |
vhdQuaternion vhdQuaternion::slerp | ( | vhtReal | fT, | |
const vhdQuaternion & | rkP, | |||
const vhdQuaternion & | rkQ | |||
) | [static] |
vhdQuaternion vhdQuaternion::slerpExtraSpins | ( | vhtReal | fT, | |
const vhdQuaternion & | rkP, | |||
const vhdQuaternion & | rkQ, | |||
int | iExtraSpins | |||
) | [static] |
void vhdQuaternion::intermediate | ( | const vhdQuaternion & | rkQ0, | |
const vhdQuaternion & | rkQ1, | |||
const vhdQuaternion & | rkQ2, | |||
vhdQuaternion & | rka, | |||
vhdQuaternion & | rkB | |||
) | [static] |
vhdQuaternion vhdQuaternion::squad | ( | vhtReal | fT, | |
const vhdQuaternion & | rkP, | |||
const vhdQuaternion & | rkA, | |||
const vhdQuaternion & | rkB, | |||
const vhdQuaternion & | rkQ | |||
) | [static] |
vhdQuaternion operator * | ( | vhtReal | fScalar, | |
const vhdQuaternion & | rkQ | |||
) | [friend] |
std::ostream& operator<< | ( | std::ostream & | o, | |
const vhdQuaternion & | q | |||
) | [friend] |
vhtReal vhdQuaternion::ms_fEpsilon [static] |
vhdQuaternion vhdQuaternion::ZERO [static] |
vhdQuaternion vhdQuaternion::IDENTITY [static] |