Lines Matching refs:operator
273 operator f32*() { return &x; }
276 operator const f32*() const { return &x; }
285 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; }
288 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; }
291 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; }
294 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
297 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; }
300 self_type operator + () const { return *this; }
303 self_type operator - () const { return self_type(-x, -y, -z, -w); }
306 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
309 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret…
312 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; }
315 self_type operator / (f32 f) const { f32 r = 1.f / f; return operator*(r); }
405 …bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w…
408 …bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w…
422 operator UnspecifiedBoolType() const;
423 operator UnspecifiedBoolType();
435 operator * (f32 f, const VEC4& rhs) { VEC4 tmp; (void)VEC4Scale(&tmp, &rhs, f); return tmp; }