Home
last modified time | relevance | path

Searched refs:theta_squared (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libheadtracking/
DQuaternionUtil.cpp62 const float theta_squared = delta.squaredNorm(); in ExpSU2() local
63 if (theta_squared > NumTraits<float>::dummy_precision()) { in ExpSU2()
64 const float theta = sqrt(theta_squared); in ExpSU2()
69 q_delta.w() = 1.f - 0.5f * theta_squared; in ExpSU2()
70 q_delta.vec() = (1.f - 1.f / 6.f * theta_squared) * delta; in ExpSU2()