20 namespace Vectormath {
52 #ifndef _VECTORMATH_NO_SCALAR_CAST
55 inline operator float()
const;
102 inline const floatInVec
operator * (floatInVec vec0, floatInVec vec1);
106 inline const floatInVec
operator / (floatInVec vec0, floatInVec vec1);
110 inline const floatInVec
operator + (floatInVec vec0, floatInVec vec1);
114 inline const floatInVec
operator - (floatInVec vec0, floatInVec vec1);
118 inline const boolInVec
operator < (floatInVec vec0, floatInVec vec1);
122 inline const boolInVec
operator <= (floatInVec vec0, floatInVec vec1);
126 inline const boolInVec
operator > (floatInVec vec0, floatInVec vec1);
130 inline const boolInVec
operator >= (floatInVec vec0, floatInVec vec1);
134 inline const boolInVec
operator == (floatInVec vec0, floatInVec vec1);
138 inline const boolInVec
operator != (floatInVec vec0, floatInVec vec1);
142 inline const floatInVec
select(floatInVec vec0, floatInVec vec1, boolInVec select_vec1);
154 namespace Vectormath {
175 #ifndef _VECTORMATH_NO_SCALAR_CAST
177 floatInVec::operator float()
const
187 float olddata =
mData;
196 float olddata =
mData;
303 return !(vec0 > vec1);
317 return !(vec0 < vec1);
331 return !(vec0 == vec1);
338 return (select_vec1.
getAsBool() == 0) ? vec0 : vec1;
343 #endif // floatInVec_h
const boolInVec operator!=(boolInVec vec0, boolInVec vec1)
const floatInVec operator+(floatInVec vec0, floatInVec vec1)
const boolInVec operator<(floatInVec vec0, floatInVec vec1)
floatInVec & operator-=(floatInVec vec)
floatInVec & operator=(floatInVec vec)
const floatInVec operator*(floatInVec vec0, floatInVec vec1)
const boolInVec operator>=(floatInVec vec0, floatInVec vec1)
const floatInVec operator-() const
floatInVec & operator--()
const boolInVec select(boolInVec vec0, boolInVec vec1, boolInVec select_vec1)
const boolInVec operator>(floatInVec vec0, floatInVec vec1)
floatInVec & operator++()
floatInVec & operator+=(floatInVec vec)
floatInVec & operator/=(floatInVec vec)
floatInVec & operator*=(floatInVec vec)
const boolInVec operator==(boolInVec vec0, boolInVec vec1)
const boolInVec operator<=(floatInVec vec0, floatInVec vec1)
const floatInVec operator/(floatInVec vec0, floatInVec vec1)
const floatInVec operator-(floatInVec vec0, floatInVec vec1)