Home
last modified time | relevance | path

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

/external/chromium_org/cc/base/
Dmath_util_unittest.cc72 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()
Dmath_util.h159 static float SmallestAngleBetweenVectors(gfx::Vector2dF v1,
Dmath_util.cc494 float MathUtil::SmallestAngleBetweenVectors(gfx::Vector2dF v1, in SmallestAngleBetweenVectors() function in cc::MathUtil
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl.cc2230 if (MathUtil::SmallestAngleBetweenVectors( in ScrollBy()