Lines Matching refs:FLOAT
30 inline D3DXVECTOR2::D3DXVECTOR2(CONST FLOAT *pf)
37 inline D3DXVECTOR2::D3DXVECTOR2(FLOAT fx, FLOAT fy)
43 inline D3DXVECTOR2::operator FLOAT* ()
45 return (FLOAT*)&x;
48 inline D3DXVECTOR2::operator CONST FLOAT* () const
50 return (CONST FLOAT*)&x;
67 inline D3DXVECTOR2& D3DXVECTOR2::operator *= (FLOAT f)
74 inline D3DXVECTOR2& D3DXVECTOR2::operator /= (FLOAT f)
101 inline D3DXVECTOR2 D3DXVECTOR2::operator * (FLOAT f) const
106 inline D3DXVECTOR2 D3DXVECTOR2::operator / (FLOAT f) const
111 inline D3DXVECTOR2 operator * (FLOAT f, CONST D3DXVECTOR2& v)
130 inline D3DXVECTOR3::D3DXVECTOR3(CONST FLOAT *pf)
145 inline D3DXVECTOR3::D3DXVECTOR3(FLOAT fx, FLOAT fy, FLOAT fz)
152 inline D3DXVECTOR3::operator FLOAT* ()
154 return (FLOAT*)&x;
157 inline D3DXVECTOR3::operator CONST FLOAT* () const
159 return (CONST FLOAT*)&x;
178 inline D3DXVECTOR3& D3DXVECTOR3::operator *= (FLOAT f)
186 inline D3DXVECTOR3& D3DXVECTOR3::operator /= (FLOAT f)
214 inline D3DXVECTOR3 D3DXVECTOR3::operator * (FLOAT f) const
219 inline D3DXVECTOR3 D3DXVECTOR3::operator / (FLOAT f) const
224 inline D3DXVECTOR3 operator * (FLOAT f, CONST D3DXVECTOR3& v)
243 inline D3DXVECTOR4::D3DXVECTOR4(CONST FLOAT *pf)
252 inline D3DXVECTOR4::D3DXVECTOR4(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw)
260 inline D3DXVECTOR4::operator FLOAT* ()
262 return (FLOAT*)&x;
265 inline D3DXVECTOR4::operator CONST FLOAT* () const
267 return (CONST FLOAT*)&x;
288 inline D3DXVECTOR4& D3DXVECTOR4::operator *= (FLOAT f)
297 inline D3DXVECTOR4& D3DXVECTOR4::operator /= (FLOAT f)
326 inline D3DXVECTOR4 D3DXVECTOR4::operator * (FLOAT f) const
331 inline D3DXVECTOR4 D3DXVECTOR4::operator / (FLOAT f) const
336 inline D3DXVECTOR4 operator * (FLOAT f, CONST D3DXVECTOR4& v)
355 inline D3DXMATRIX::D3DXMATRIX(CONST FLOAT *pf)
366 inline D3DXMATRIX::D3DXMATRIX(FLOAT f11, FLOAT f12, FLOAT f13, FLOAT f14,
367 FLOAT f21, FLOAT f22, FLOAT f23, FLOAT f24,
368 FLOAT f31, FLOAT f32, FLOAT f33, FLOAT f34,
369 FLOAT f41, FLOAT f42, FLOAT f43, FLOAT f44)
377 inline FLOAT& D3DXMATRIX::operator () (UINT row, UINT col)
382 inline FLOAT D3DXMATRIX::operator () (UINT row, UINT col) const
387 inline D3DXMATRIX::operator FLOAT* ()
389 return (FLOAT*)&_11;
392 inline D3DXMATRIX::operator CONST FLOAT* () const
394 return (CONST FLOAT*)&_11;
421 inline D3DXMATRIX& D3DXMATRIX::operator *= (FLOAT f)
430 inline D3DXMATRIX& D3DXMATRIX::operator /= (FLOAT f)
432 FLOAT inv = 1.0f / f;
476 inline D3DXMATRIX D3DXMATRIX::operator * (FLOAT f) const
484 inline D3DXMATRIX D3DXMATRIX::operator / (FLOAT f) const
486 FLOAT inv = 1.0f / f;
493 inline D3DXMATRIX operator * (FLOAT f, CONST D3DXMATRIX& mat)
515 inline D3DXQUATERNION::D3DXQUATERNION(CONST FLOAT *pf)
524 inline D3DXQUATERNION::D3DXQUATERNION(FLOAT fx, FLOAT fy, FLOAT fz, FLOAT fw)
532 inline D3DXQUATERNION::operator FLOAT* ()
534 return (FLOAT*)&x;
537 inline D3DXQUATERNION::operator CONST FLOAT* () const
539 return (CONST FLOAT*)&x;
566 inline D3DXQUATERNION& D3DXQUATERNION::operator *= (FLOAT f)
575 inline D3DXQUATERNION& D3DXQUATERNION::operator /= (FLOAT f)
577 FLOAT inv = 1.0f / f;
612 inline D3DXQUATERNION D3DXQUATERNION::operator * (FLOAT f) const
617 inline D3DXQUATERNION D3DXQUATERNION::operator / (FLOAT f) const
619 FLOAT inv = 1.0f / f;
623 inline D3DXQUATERNION operator * (FLOAT f, CONST D3DXQUATERNION& quat)
642 inline D3DXPLANE::D3DXPLANE(CONST FLOAT *pf)
651 inline D3DXPLANE::D3DXPLANE(FLOAT fa, FLOAT fb, FLOAT fc, FLOAT fd)
659 inline D3DXPLANE::operator FLOAT* ()
661 return (FLOAT*)&a;
664 inline D3DXPLANE::operator CONST FLOAT* () const
666 return (CONST FLOAT*)&a;
695 CONST FLOAT f = 1.0f / 255.0f;
696 r = f * (FLOAT)(unsigned char)(col >> 16);
697 g = f * (FLOAT)(unsigned char)(col >> 8);
698 b = f * (FLOAT)(unsigned char)col;
699 a = f * (FLOAT)(unsigned char)(col >> 24);
702 inline D3DXCOLOR::D3DXCOLOR(CONST FLOAT *pf)
719 inline D3DXCOLOR::D3DXCOLOR(FLOAT fr, FLOAT fg, FLOAT fb, FLOAT fa)
737 inline D3DXCOLOR::operator FLOAT * ()
739 return (FLOAT*)&r;
742 inline D3DXCOLOR::operator CONST FLOAT * () const
744 return (CONST FLOAT*)&r;
785 inline D3DXCOLOR& D3DXCOLOR::operator *= (FLOAT f)
794 inline D3DXCOLOR& D3DXCOLOR::operator /= (FLOAT f)
796 FLOAT inv = 1.0f / f;
824 inline D3DXCOLOR D3DXCOLOR::operator * (FLOAT f) const
829 inline D3DXCOLOR D3DXCOLOR::operator / (FLOAT f) const
831 FLOAT inv = 1.0f / f;
835 inline D3DXCOLOR operator * (FLOAT f, CONST D3DXCOLOR& col)
854 inline D3DXFLOAT16::D3DXFLOAT16(FLOAT f)
864 inline D3DXFLOAT16::operator FLOAT ()
866 FLOAT f;
895 static inline D3DXCOLOR* D3DXColorLerp(D3DXCOLOR *pout, CONST D3DXCOLOR *pc1, CONST D3DXCOLOR *pc2, FLOAT s)
925 static inline D3DXCOLOR* D3DXColorScale(D3DXCOLOR *pout, CONST D3DXCOLOR *pc, FLOAT s)
955 static inline FLOAT D3DXVec2CCW(CONST D3DXVECTOR2 *pv1, CONST D3DXVECTOR2 *pv2)
961 static inline FLOAT D3DXVec2Dot(CONST D3DXVECTOR2 *pv1, CONST D3DXVECTOR2 *pv2)
967 static inline FLOAT D3DXVec2Length(CONST D3DXVECTOR2 *pv)
973 static inline FLOAT D3DXVec2LengthSq(CONST D3DXVECTOR2 *pv)
979 static inline D3DXVECTOR2* D3DXVec2Lerp(D3DXVECTOR2 *pout, CONST D3DXVECTOR2 *pv1, CONST D3DXVECTOR2 *pv2, FLOAT s)
1003 static inline D3DXVECTOR2* D3DXVec2Scale(D3DXVECTOR2 *pout, CONST D3DXVECTOR2 *pv, FLOAT s)
1039 static inline FLOAT D3DXVec3Dot(CONST D3DXVECTOR3 *pv1, CONST D3DXVECTOR3 *pv2)
1045 static inline FLOAT D3DXVec3Length(CONST D3DXVECTOR3 *pv)
1051 static inline FLOAT D3DXVec3LengthSq(CONST D3DXVECTOR3 *pv)
1057 static inline D3DXVECTOR3* D3DXVec3Lerp(D3DXVECTOR3 *pout, CONST D3DXVECTOR3 *pv1, CONST D3DXVECTOR3 *pv2, FLOAT s)
1084 static inline D3DXVECTOR3* D3DXVec3Scale(D3DXVECTOR3 *pout, CONST D3DXVECTOR3 *pv, FLOAT s)
1113 static inline FLOAT D3DXVec4Dot(CONST D3DXVECTOR4 *pv1, CONST D3DXVECTOR4 *pv2)
1119 static inline FLOAT D3DXVec4Length(CONST D3DXVECTOR4 *pv)
1125 static inline FLOAT D3DXVec4LengthSq(CONST D3DXVECTOR4 *pv)
1131 static inline D3DXVECTOR4* D3DXVec4Lerp(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 *pv1, CONST D3DXVECTOR4 *pv2, FLOAT s)
1162 static inline D3DXVECTOR4* D3DXVec4Scale(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 *pv, FLOAT s)
1231 static inline FLOAT D3DXPlaneDot(CONST D3DXPLANE *pp, CONST D3DXVECTOR4 *pv)
1237 static inline FLOAT D3DXPlaneDotCoord(CONST D3DXPLANE *pp, CONST D3DXVECTOR4 *pv)
1243 static inline FLOAT D3DXPlaneDotNormal(CONST D3DXPLANE *pp, CONST D3DXVECTOR4 *pv)
1261 static inline FLOAT D3DXQuaternionDot(CONST D3DXQUATERNION *pq1, CONST D3DXQUATERNION *pq2)
1283 static inline FLOAT D3DXQuaternionLength(CONST D3DXQUATERNION *pq)
1289 static inline FLOAT D3DXQuaternionLengthSq(CONST D3DXQUATERNION *pq)