Lines Matching refs:operator
111 operator f32*() { return &x; }
114 operator const f32*() const { return &x; }
121 self_type& operator += (const self_type& rhs) { (void)VEC4Add(this, this, &rhs); return *this; }
122 self_type& operator -= (const self_type& rhs) { (void)VEC4Sub(this, this, &rhs); return *this; }
123 … self_type& operator *= (const self_type& rhs) { (void)VEC4Mult(this, this, &rhs); return *this; }
124 self_type& operator *= (f32 f) { (void)VEC4Scale(this, this, f); return *this; }
125 self_type& operator /= (f32 f) { (void)VEC4Scale(this, this, 1/f); return *this; }
127 self_type operator + () const { return *this; }
128 self_type operator - () const { return self_type(-x, -y, -z, -w); }
130 …self_type operator + (const self_type& rhs) const { VEC4 tmp; (void)VEC4Add(&tmp, this, &rhs); ret…
131 …self_type operator - (const self_type& rhs) const { VEC4 tmp; (void)VEC4Sub(&tmp, this, &rhs); ret…
132 self_type operator * (f32 f) const { VEC4 tmp; (void)VEC4Scale(&tmp, this, f); return tmp; }
133 self_type operator / (f32 f) const { f32 r = 1.f / f; return operator*(r); }
223 …bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w…
226 …bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w…
242 operator * (f32 f, const VEC4& rhs) { VEC4 tmp; (void)VEC4Scale(&tmp, &rhs, f); return tmp; }