16 #ifndef TF2SIMD_QUADWORD_H
17 #define TF2SIMD_QUADWORD_H
23 #if defined (__CELLOS_LV2) && defined (__SPU__)
40 #if defined (__SPU__) && defined (__CELLOS_LV2__)
46 vec_float4 get128()
const
51 #else //__CELLOS_LV2__ __SPU__
53 #endif //__CELLOS_LV2__ __SPU__
89 return ((m_floats[3]==other.m_floats[3]) && (m_floats[2]==other.m_floats[2]) && (m_floats[1]==other.m_floats[1]) && (m_floats[0]==other.m_floats[0]));
94 return !(*
this == other);
143 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = 0.0f;
154 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = w;
162 tf2SetMax(m_floats[0], other.m_floats[0]);
163 tf2SetMax(m_floats[1], other.m_floats[1]);
164 tf2SetMax(m_floats[2], other.m_floats[2]);
165 tf2SetMax(m_floats[3], other.m_floats[3]);
172 tf2SetMin(m_floats[0], other.m_floats[0]);
173 tf2SetMin(m_floats[1], other.m_floats[1]);
174 tf2SetMin(m_floats[2], other.m_floats[2]);
175 tf2SetMin(m_floats[3], other.m_floats[3]);
183 #endif //TF2SIMD_QUADWORD_H