Module: wine Branch: master Commit: df17f1ead2a7ed9fd8fdcf56b61e62c8e79e5760 URL: http://source.winehq.org/git/wine.git/?a=commit;h=df17f1ead2a7ed9fd8fdcf56b6...
Author: Francois Gouget fgouget@free.fr Date: Tue Nov 13 09:29:57 2007 +0100
d3dx8: Make d3dx8math.h C++ compatible.
---
include/d3dx8math.h | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/d3dx8math.h b/include/d3dx8math.h index da0c8f3..cfe4845 100644 --- a/include/d3dx8math.h +++ b/include/d3dx8math.h @@ -259,6 +259,10 @@ typedef struct D3DXCOLOR FLOAT r, g, b, a; } D3DXCOLOR, *LPD3DXCOLOR;
+#ifdef __cplusplus +extern "C" { +#endif + D3DXMATRIX* WINAPI D3DXMatrixAffineTransformation(D3DXMATRIX *pout, float scaling, D3DXVECTOR3 *rotationcenter, D3DXQUATERNION *rotation, D3DXVECTOR3 *translation); FLOAT WINAPI D3DXMatrixfDeterminant(CONST D3DXMATRIX *pm); D3DXMATRIX* WINAPI D3DXMatrixInverse(D3DXMATRIX *pout, FLOAT *pdeterminant, CONST D3DXMATRIX *pm); @@ -314,6 +318,10 @@ D3DXVECTOR4* WINAPI D3DXVec4Hermite(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 *pv1, C D3DXVECTOR4* WINAPI D3DXVec4Normalize(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 *pv); D3DXVECTOR4* WINAPI D3DXVec4Transform(D3DXVECTOR4 *pout, CONST D3DXVECTOR4 *pv, CONST D3DXMATRIX *pm);
+#ifdef __cplusplus +} +#endif + #include <d3dx8math.inl>
#endif /* __D3DX8MATH_H__ */