Hi,
I was wondering how I would use the wrapper and then using the D3DXMatrix functions, as they seem to be within a .lib, which is OK for intel platforms, how do you deal with this ???
any Ideas ???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unless I'm looking at the wrong ones, those just cover the class implementations, the sort of things I need to use this wrapper with are D3DXMatrix<fsp> functions e.g.
Hi,
I was wondering how I would use the wrapper and then using the D3DXMatrix functions, as they seem to be within a .lib, which is OK for intel platforms, how do you deal with this ???
any Ideas ???
D3XDMatrix functions source code is partially in DXDSK provided (they are inline functions).
the rest is very documented, and easy to be rewritten.
Can you say where, as I cannot find the source for them in the DXSDK ???
Look d3dx8math.inl for example.
inc DXSDK\include
in fact, all the .inl files
Unless I'm looking at the wrong ones, those just cover the class implementations, the sort of things I need to use this wrapper with are D3DXMatrix<fsp> functions e.g.
D3DXMatrixPerspectiveFovLH
D3DXMatrixLookAtLH
D3DXMatrixRotationY
Which are within a .lib on the PC :-(.
Any ideas.
Theses functions are well documented on msdn
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3dx/functions/math/d3dxmatrixperspectivefovlh.asp
for example. It's easy to rewrite