Got the Vector class working in Python through SWIG.

This commit is contained in:
David Williams
2010-12-27 11:54:49 +00:00
parent 78cda39c38
commit 26081fd4ba
4 changed files with 9 additions and 8 deletions

View File

@ -1,10 +1,10 @@
%module Vector
%{
#include "PolyVoxCore/Vector.h"
//#include "PolyVoxCore/PolyVoxCStdInt.h"
#include "Vector.h"
//#include "PolyVoxCore/include/PolyVoxCStdInt.h"
%}
%include "PolyVoxCore/Vector.h"
%include "Vector.h"
%template(Vector3DFloat) PolyVox::Vector<3,float>;
%template(Vector3DDouble) PolyVox::Vector<3,double>;