Lines Matching refs:operator
74 operator f32*() { return &x; }
75 operator const f32*() const { return &x; }
78 operator Quaternion*() { return (Quaternion*)&x; }
79 operator const Quaternion*() const { return (const Quaternion*)&x; }
82 self_type& operator += (const self_type& rhs) { (void)QUATAdd(this, this, &rhs); return *this; }
83 self_type& operator -= (const self_type& rhs) { (void)QUATSub(this, this, &rhs); return *this; }
84 self_type& operator *= (f32 f) { (void)QUATScale(this, this, f); return *this; }
85 self_type& operator /= (f32 f) { return operator*=(1.f / f); }
87 self_type operator + () const { return *this; }
88 self_type operator - () const { return self_type(-x, -y, -z, -w); }
90 …self_type operator + (const self_type& rhs) const { QUAT tmp; (void)QUATAdd(&tmp, this, &rhs); ret…
91 …self_type operator - (const self_type& rhs) const { QUAT tmp; (void)QUATSub(&tmp, this, &rhs); ret…
92 self_type operator * (f32 f) const { QUAT tmp; (void)QUATScale(&tmp, this, f); return tmp; }
93 self_type operator / (f32 f) const { return operator*(1.f / f); }
95 …bool operator == (const self_type& rhs) const { return x == rhs.x && y == rhs.y && z == rhs.z && w…
96 …bool operator != (const self_type& rhs) const { return x != rhs.x || y != rhs.y || z != rhs.z || w…
104 operator * (f32 f, const QUAT& rhs) { QUAT tmp; (void)QUATScale(&tmp, &rhs, f); return tmp; }