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 #define TF2SIMD_FORCE_INLINE
TF2SIMD_FORCE_INLINE bool operator==(const Matrix3x3 &m1, const Matrix3x3 &m2)
Equality operator between two matrices It will test all elements are equal.
double tf2Scalar
The tf2Scalar type abstracts floating point numbers, to easily switch between double and single float...
ATTRIBUTE_ALIGNED16(class) QuadWord
The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2...
TF2SIMD_FORCE_INLINE void tf2SetMax(T &a, const T &b)
TF2SIMD_FORCE_INLINE void tf2SetMin(T &a, const T &b)