Home
last modified time | relevance | path

Searched refs:Vec2 (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/include/colorchecker/
Dvec2.h24 class Vec2{
26 Vec2(T inputX, T inputY) { in Vec2() function
31 Vec2() {} in Vec2() function
33 inline Vec2<T> operator+ (const Vec2<T> &param) const {
34 Vec2<T> temp(mX + param.x(), mY + param.y());
38 inline Vec2<T> operator- (const Vec2<T> &param) const {
39 Vec2<T> temp(mX - param.x(), mY - param.y());
43 inline Vec2<float> operator/ (const int param) const {
45 return Vec2<float>(static_cast<float>(mX) / static_cast<float>(param),
50 float squareDistance(const Vec2<U> &param) const { in squareDistance()
[all …]
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dbox2d.js484 var Vec2 = Box2D.Common.Math.b2Vec2,
494 var gravity = new Vec2(0, -10);
498 shape.SetAsEdge(new Vec2(-40.0, 0), new Vec2(40.0, 0));
511 var x = new Vec2(-7.0, 0.75);
512 var y = new Vec2();
513 var deltaX = new Vec2(0.5625, 1);
514 var deltaY = new Vec2(1.125, 0.0);