23 #if defined (__CELLOS_LV2) && defined (__SPU__) 41 #if defined (__SPU__) && defined (__CELLOS_LV2__) 47 vec_float4 get128()
const 52 #else //__CELLOS_LV2__ __SPU__ 54 #endif //__CELLOS_LV2__ __SPU__ 90 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]));
95 return !(*
this == other);
144 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = 0.0f;
155 m_floats[0] = x, m_floats[1] = y, m_floats[2] = z, m_floats[3] = w;
163 tfSetMax(m_floats[0], other.m_floats[0]);
164 tfSetMax(m_floats[1], other.m_floats[1]);
165 tfSetMax(m_floats[2], other.m_floats[2]);
166 tfSetMax(m_floats[3], other.m_floats[3]);
173 tfSetMin(m_floats[0], other.m_floats[0]);
174 tfSetMin(m_floats[1], other.m_floats[1]);
175 tfSetMin(m_floats[2], other.m_floats[2]);
176 tfSetMin(m_floats[3], other.m_floats[3]);
185 #endif //TFSIMD_QUADWORD_H double tfScalar
The tfScalar type abstracts floating point numbers, to easily switch between double and single floati...
TFSIMD_FORCE_INLINE bool operator==(const Matrix3x3 &m1, const Matrix3x3 &m2)
Equality operator between two matrices It will test all elements are equal.
TFSIMD_FORCE_INLINE void tfSetMin(T &a, const T &b)
#define TFSIMD_FORCE_INLINE
ATTRIBUTE_ALIGNED16(class) QuadWord
The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2...
TFSIMD_FORCE_INLINE void tfSetMax(T &a, const T &b)