Esempio n. 1
0
vec MUST_USE_RESULT Quat::AxisFromTo(const Quat &target) const
{
	assume(this->IsInvertible());
	Quat delta = target / *this;
	delta.Normalize();
	return delta.Axis();
}
Esempio n. 2
0
float3 Quat::AxisFromTo(const Quat &target) const
{
	assume(this->IsInvertible());
	Quat q = target / *this;
	return q.Axis();
}
Esempio n. 3
0
vec MUST_USE_RESULT Quat::AxisFromTo(const Quat &target) const
{
	assume(this->IsInvertible());
	Quat q = target / *this;
	return q.Axis();
}