Searched refs:north (Results 1 – 2 of 2) sorted by relevance
/frameworks/native/services/sensorservice/ |
D | Fusion.cpp | 303 vec3_t north(cross_product(up, east)); in checkInitComplete() local 304 R << east << north << up; in checkInitComplete() 383 vec3_t north( cross_product(up, east) ); in handleMag() local 385 const float l_inv = 1 / length(north); in handleMag() 386 north *= l_inv; in handleMag() 388 update(north, Bm, mParam.magStdev*l_inv); in handleMag()
|
/frameworks/native/libs/math/tests/ |
D | vec_test.cpp | 239 vec3 north(0, 1, 0); in TEST_F() local 240 vec3 up(cross(east, north)); in TEST_F() 242 EXPECT_EQ(dot(east, north), 0); in TEST_F() 244 EXPECT_EQ(distance(east, north), sqrtf(2)); in TEST_F()
|