Searched refs:Vec2 (Results 1 – 3 of 3) sorted by relevance
39 class Vec2; variable48 class Vec2 {59 Vec2() { x_ = y_ = 0.f; } in Vec2() function61 Vec2(const float fX, const float fY) { in Vec2() function66 Vec2(const Vec2& vec) { in Vec2() function71 Vec2(const float* pVec) { in Vec2() function77 Vec2 operator*(const Vec2& rhs) const {78 Vec2 ret;84 Vec2 operator/(const Vec2& rhs) const {85 Vec2 ret;[all …]
156 v = Vec2( in initDisplay()184 Vec2& v = state.velocities[i]; in update()201 v = Vec2(vx, vy); in update()
48 std::vector<Vec2> velocities;