Searched refs:SmallestAngleBetweenVectors (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/cc/base/ |
D | math_util_unittest.cc | 72 TEST(MathUtilTest, SmallestAngleBetweenVectors) { in TEST() argument 78 EXPECT_EQ(90, MathUtil::SmallestAngleBetweenVectors(x, y)); in TEST() 81 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(x, x)); in TEST() 82 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(y, y)); in TEST() 83 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(test_vector, test_vector)); in TEST() 86 EXPECT_FLOAT_EQ(180, MathUtil::SmallestAngleBetweenVectors(x, -x)); in TEST() 87 EXPECT_FLOAT_EQ(180, MathUtil::SmallestAngleBetweenVectors(y, -y)); in TEST() 89 180, MathUtil::SmallestAngleBetweenVectors(test_vector, -test_vector)); in TEST() 93 45, std::floor(MathUtil::SmallestAngleBetweenVectors(test_vector, x))); in TEST() 95 45, std::floor(MathUtil::SmallestAngleBetweenVectors(test_vector, y))); in TEST()
|
D | math_util.h | 159 static float SmallestAngleBetweenVectors(gfx::Vector2dF v1,
|
D | math_util.cc | 494 float MathUtil::SmallestAngleBetweenVectors(gfx::Vector2dF v1, in SmallestAngleBetweenVectors() function in cc::MathUtil
|
/external/chromium_org/cc/trees/ |
D | layer_tree_host_impl.cc | 2230 if (MathUtil::SmallestAngleBetweenVectors( in ScrollBy()
|