• Home
  • Raw
  • Download

Lines Matching refs:Vector2dF

19   Vector2dF f = i;  in TEST()
26 Vector2dF float_zero(0, 0); in TEST()
27 Vector2dF float_nonzero(0.1f, -0.1f); in TEST()
52 Vector2dF f1(3.1f, 5.1f); in TEST()
53 Vector2dF f2(4.3f, -1.3f); in TEST()
56 Vector2dF expected; in TEST()
57 Vector2dF actual; in TEST()
59 { Vector2dF(3.1F, 5.1F), f1 + Vector2d() }, in TEST()
60 { Vector2dF(3.1F, 5.1F), f1 + Vector2dF() }, in TEST()
61 { Vector2dF(3.1f + 4.3f, 5.1f - 1.3f), f1 + f2 }, in TEST()
62 { Vector2dF(3.1f - 4.3f, 5.1f + 1.3f), f1 - f2 } in TEST()
87 Vector2dF expected; in TEST()
88 Vector2dF actual; in TEST()
90 { Vector2dF(0, 0), -Vector2d(0, 0) }, in TEST()
91 { Vector2dF(-0.3f, -0.3f), -Vector2dF(0.3f, 0.3f) }, in TEST()
92 { Vector2dF(0.3f, 0.3f), -Vector2dF(-0.3f, -0.3f) }, in TEST()
93 { Vector2dF(-0.3f, 0.3f), -Vector2dF(0.3f, -0.3f) }, in TEST()
94 { Vector2dF(0.3f, -0.3f), -Vector2dF(-0.3f, 0.3f) } in TEST()
116 Vector2dF v(double_values[i][0], double_values[i][1]); in TEST()
121 Vector2dF v2 = ScaleVector2d( in TEST()
122 gfx::Vector2dF(double_values[i][0], double_values[i][1]), in TEST()
141 Vector2dF v(single_values[i][0], single_values[i][1]); in TEST()
146 Vector2dF v2 = ScaleVector2d( in TEST()
147 gfx::Vector2dF(double_values[i][0], double_values[i][1]), in TEST()
194 Vector2dF vector(v0, v1); in TEST()
227 Vector2dF a; in TEST()
229 a = Vector2dF(3.5f, 5.5f); in TEST()
230 EXPECT_EQ(Vector2dF(3.5f, 5.5f).ToString(), a.ToString()); in TEST()
231 a.SetToMax(Vector2dF(2.5f, 4.5f)); in TEST()
232 EXPECT_EQ(Vector2dF(3.5f, 5.5f).ToString(), a.ToString()); in TEST()
233 a.SetToMax(Vector2dF(3.5f, 5.5f)); in TEST()
234 EXPECT_EQ(Vector2dF(3.5f, 5.5f).ToString(), a.ToString()); in TEST()
235 a.SetToMax(Vector2dF(4.5f, 2.5f)); in TEST()
236 EXPECT_EQ(Vector2dF(4.5f, 5.5f).ToString(), a.ToString()); in TEST()
237 a.SetToMax(Vector2dF(8.5f, 10.5f)); in TEST()
238 EXPECT_EQ(Vector2dF(8.5f, 10.5f).ToString(), a.ToString()); in TEST()
240 a.SetToMin(Vector2dF(9.5f, 11.5f)); in TEST()
241 EXPECT_EQ(Vector2dF(8.5f, 10.5f).ToString(), a.ToString()); in TEST()
242 a.SetToMin(Vector2dF(8.5f, 10.5f)); in TEST()
243 EXPECT_EQ(Vector2dF(8.5f, 10.5f).ToString(), a.ToString()); in TEST()
244 a.SetToMin(Vector2dF(11.5f, 9.5f)); in TEST()
245 EXPECT_EQ(Vector2dF(8.5f, 9.5f).ToString(), a.ToString()); in TEST()
246 a.SetToMin(Vector2dF(7.5f, 11.5f)); in TEST()
247 EXPECT_EQ(Vector2dF(7.5f, 9.5f).ToString(), a.ToString()); in TEST()
248 a.SetToMin(Vector2dF(3.5f, 5.5f)); in TEST()
249 EXPECT_EQ(Vector2dF(3.5f, 5.5f).ToString(), a.ToString()); in TEST()