Lines Matching refs:Vec4
33 #define VEC4_CONST( X ) Vec4( X )
35 class Vec4
38 typedef Vec4 const& Arg;
40 Vec4() {} in Vec4() function
42 explicit Vec4( float s ) in Vec4() function
50 Vec4( float x, float y, float z, float w ) in Vec4() function
63 Vec4 SplatX() const { return Vec4( m_x ); } in SplatX()
64 Vec4 SplatY() const { return Vec4( m_y ); } in SplatY()
65 Vec4 SplatZ() const { return Vec4( m_z ); } in SplatZ()
66 Vec4 SplatW() const { return Vec4( m_w ); } in SplatW()
68 Vec4& operator+=( Arg v )
77 Vec4& operator-=( Arg v )
86 Vec4& operator*=( Arg v )
95 friend Vec4 operator+( Vec4::Arg left, Vec4::Arg right )
97 Vec4 copy( left );
101 friend Vec4 operator-( Vec4::Arg left, Vec4::Arg right )
103 Vec4 copy( left );
107 friend Vec4 operator*( Vec4::Arg left, Vec4::Arg right )
109 Vec4 copy( left );
114 friend Vec4 MultiplyAdd( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in MultiplyAdd()
120 friend Vec4 NegativeMultiplySubtract( Vec4::Arg a, Vec4::Arg b, Vec4::Arg c ) in NegativeMultiplySubtract()
125 friend Vec4 Reciprocal( Vec4::Arg v ) in Reciprocal()
127 return Vec4( in Reciprocal()
135 friend Vec4 Min( Vec4::Arg left, Vec4::Arg right ) in Min()
137 return Vec4( in Min()
145 friend Vec4 Max( Vec4::Arg left, Vec4::Arg right ) in Max()
147 return Vec4( in Max()
155 friend Vec4 Truncate( Vec4::Arg v ) in Truncate()
157 return Vec4( in Truncate()
165 friend bool CompareAnyLessThan( Vec4::Arg left, Vec4::Arg right ) in CompareAnyLessThan()