Home | History | Annotate | Download | only in ndk_helper

Lines Matching defs:Vec2

34 class Vec2;
43 class Vec2
55 Vec2()
60 Vec2( const float fX, const float fY )
66 Vec2( const Vec2& vec )
72 Vec2( const float* pVec )
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()
221 float Dot( const Vec2& rhs )
241 LOGI( "Vec2 %f %f", x_, y_ );
285 Vec3( const Vec2& vec, float f )