   ToLua++ and DirectX structs
  Hi, I've recently got ToLua++ up and running for my project and it seems to work nicely with my classes. However, I need to expose a Vector3 class/struct to Lua and was wondering if someone with a bit of experience with this could help. Currently, I've simply typedef a D3DXVECTOR3 to Vector3 and it works well on the C++ side of the code. I tried to go directly into the DirectX header files to export the structs, but ran into a lot of parsing problems. For those who have done these kinds of things before, is there a simple process to use to export the D3DX structs, or does everyone roll their own Vector and Matrix classes/wrappers? Any help would be greatly appreciated.   