Searched refs:east (Results 1 - 2 of 2) sorted by relevance
/frameworks/native/libs/math/tests/ |
H A D | vec_test.cpp | 238 vec3 east(1, 0, 0); 240 vec3 up(cross(east, north)); 242 EXPECT_EQ(dot(east, north), 0); 243 EXPECT_EQ(length(east), 1); 244 EXPECT_EQ(distance(east, north), sqrtf(2)); 251 float3 vf(east);
|
/frameworks/native/services/sensorservice/ |
H A D | Fusion.cpp | 295 vec3_t east; local 298 east = normalize(cross_product(mData[1], up)); 300 east = getOrthogonal(up); 303 vec3_t north(cross_product(up, east)); 304 R << east << north << up; 371 const vec3_t east( cross_product(m, up) ); 377 if (length_squared(east) < MIN_VALID_CROSS_PRODUCT_MAG_SQ) { 383 vec3_t north( cross_product(up, east) );
|
Completed in 162 milliseconds