%module VertexTypes %{ #include "Impl/TypeDef.h" #include "Vector.h" #include "VertexTypes.h" %} %include "Impl/TypeDef.h" %include "Vector.h" %include "VertexTypes.h" //%template (PositionMaterial) PolyVox::PositionMaterial; //%template (PositionMaterialNormal) PolyVox::PositionMaterialNormal;