Home | History | Annotate | Download | only in flock

Lines Matching refs:y_

17   Vector2() : x_(0.0), y_(0.0) {}
18 Vector2(double x, double y) : x_(x), y_(y) {}
29 return sqrt(x_ * x_ + y_ * y_);
35 y_ += vec.y();
50 y_ *= scale;
66 double angle = atan2(y_, x_);
74 double y() const { return y_; }
75 void set_y(double y) { y_ = y; }
78 double y_;