HomeSort by relevance Sort by last modified time
    Searched refs:SmallestAngleBetweenVectors (Results 1 - 4 of 4) sorted by null

  /external/chromium_org/cc/base/
math_util_unittest.cc 72 TEST(MathUtilTest, SmallestAngleBetweenVectors) {
78 EXPECT_EQ(90, MathUtil::SmallestAngleBetweenVectors(x, y));
81 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(x, x));
82 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(y, y));
83 EXPECT_EQ(0, MathUtil::SmallestAngleBetweenVectors(test_vector, test_vector));
86 EXPECT_FLOAT_EQ(180, MathUtil::SmallestAngleBetweenVectors(x, -x));
87 EXPECT_FLOAT_EQ(180, MathUtil::SmallestAngleBetweenVectors(y, -y));
89 180, MathUtil::SmallestAngleBetweenVectors(test_vector, -test_vector));
93 45, std::floor(MathUtil::SmallestAngleBetweenVectors(test_vector, x)));
95 45, std::floor(MathUtil::SmallestAngleBetweenVectors(test_vector, y)))
    [all...]
math_util.h 187 static float SmallestAngleBetweenVectors(const gfx::Vector2dF& v1,
math_util.cc 676 float MathUtil::SmallestAngleBetweenVectors(const gfx::Vector2dF& v1,
  /external/chromium_org/cc/trees/
layer_tree_host_impl.cc     [all...]

Completed in 73 milliseconds