Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/
Dfusion.c202 struct Vec3 east; in fusion_init_complete() local
204 vec3Cross(&east, &fusion->mData[1], &up); in fusion_init_complete()
205 vec3Normalize(&east); in fusion_init_complete()
207 findOrthogonalVector(up.x, up.y, up.z, &east.x, &east.y, &east.z); in fusion_init_complete()
211 vec3Cross(&north, &up, &east); in fusion_init_complete()
214 initMatrixColumns(&R, &east, &north, &up); in fusion_init_complete()
610 struct Vec3 east; in fusionHandleMag() local
611 vec3Cross(&east, m, &up); in fusionHandleMag()
613 if (vec3NormSquared(&east) < MIN_VALID_CROSS_PRODUCT_MAG_SQ) { in fusionHandleMag()
625 vec3Cross(&north, &up, &east); in fusionHandleMag()