Updated SWIG bindings, especially for C#.

This commit is contained in:
David Williams
2011-01-16 20:09:59 +00:00
parent e3dd07c216
commit 513b1878f1
9 changed files with 72 additions and 1 deletions

View File

@ -0,0 +1,13 @@
%module SurfaceMesh
%{
#include "Region.h"
#include "VertexTypes.h"
#include "SurfaceMesh.h"
%}
%include "Region.h"
%include "VertexTypes.h"
%include "SurfaceMesh.h"
%template(SurfaceMeshPositionMaterial) PolyVox::SurfaceMesh<PolyVox::PositionMaterial>;
%template(SurfaceMeshPositionMaterialNormal) PolyVox::SurfaceMesh<PolyVox::PositionMaterialNormal>;