Lines Matching refs:Vec2
34 class Vec2; variable
43 class Vec2
55 Vec2() in Vec2() function
60 Vec2( const float fX, const float fY ) in Vec2() function
66 Vec2( const Vec2& vec ) in Vec2() function
72 Vec2( const float* pVec ) in Vec2() function
79 Vec2 operator*( const Vec2& rhs ) const
81 Vec2 ret;
87 Vec2 operator/( const Vec2& rhs ) const
89 Vec2 ret;
95 Vec2 operator+( const Vec2& rhs ) const
97 Vec2 ret;
103 Vec2 operator-( const Vec2& rhs ) const
105 Vec2 ret;
111 Vec2& operator+=( const Vec2& rhs )
118 Vec2& operator-=( const Vec2& rhs )
125 Vec2& operator*=( const Vec2& rhs )
132 Vec2& operator/=( const Vec2& rhs )
140 friend Vec2 operator-( const Vec2& rhs )
142 return Vec2( rhs ) *= -1;
145 friend Vec2 operator*( const float lhs, const Vec2& rhs )
147 Vec2 ret;
153 friend Vec2 operator/( const float lhs, const Vec2& rhs )
155 Vec2 ret;
162 Vec2 operator*( const float& rhs ) const
164 Vec2 ret;
170 Vec2& operator*=( const float& rhs )
177 Vec2 operator/( const float& rhs ) const
179 Vec2 ret;
185 Vec2& operator/=( const float& rhs )
193 bool operator==( const Vec2& rhs ) const
200 bool operator!=( const Vec2& rhs ) const
213 Vec2 Normalize() in Normalize()
221 float Dot( const Vec2& rhs ) in Dot()
285 Vec3( const Vec2& vec, float f ) in Vec3()