'''一个用python调用DirectX的类库'''

项目地址:http://dxpython.pythonworld.net/

运行条件:

   * DirectX 9.0c
   * Python 2.4.1
   * Windows XP (I've tested only on Windows XP, but pretty sure that it will work on Windows2000 series too)

= Sample Code =
{{{#!python
>>> from dx.d3d9 import *
>>> u = D3DXVECTOR3(1.0, -1.0, 0.0)
>>> v = D3DXVECTOR3(3.0, 2.0, 1.0)
>>> D3DXVec3Dot(u, v)       # innter product
1.0
>>> out = D3DXVec3Cross(u, v)  # cross product
>>> print out
<D3DXVECTOR3> <x>-1.0</x> <y>-1.0</y> <z>5.0</z> </D3DXVECTOR3>
}}}