Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dvec.c42 float magSquared = x * x + y * y + z * z; in findOrthogonalVector() local
43 ASSERT(magSquared > 0); in findOrthogonalVector()
46 if (magSquared > 0) { in findOrthogonalVector()
47 invMag = 1.0f / sqrtf(magSquared); in findOrthogonalVector()