Work on SWIG bindings for PolyVox.
This commit is contained in:
parent
89df1c8824
commit
57ff257669
@ -1,6 +0,0 @@
|
||||
%module Enums
|
||||
%{
|
||||
#include "PolyVoxCore/Enums.h"
|
||||
%}
|
||||
|
||||
%include "PolyVoxCore/Enums.h"
|
@ -1,6 +0,0 @@
|
||||
%module PolyVoxCStdInt
|
||||
%{
|
||||
#include "PolyVoxCore/PolyVoxCStdInt.h"
|
||||
%}
|
||||
|
||||
%include "PolyVoxCore/PolyVoxCStdInt.h"
|
@ -1,6 +0,0 @@
|
||||
%module PolyVoxForwardDeclarations
|
||||
%{
|
||||
#include "PolyVoxCore/PolyVoxForwardDeclarations.h"
|
||||
%}
|
||||
|
||||
%include "PolyVoxCore/PolyVoxForwardDeclarations.h"
|
7
library/bindings/Region.i
Normal file
7
library/bindings/Region.i
Normal file
@ -0,0 +1,7 @@
|
||||
%module Region
|
||||
%{
|
||||
#define SWIG_DAVID
|
||||
#include "Region.h"
|
||||
%}
|
||||
|
||||
%include "Region.h"
|
@ -1,6 +0,0 @@
|
||||
%module TypeDef
|
||||
%{
|
||||
#include "PolyVoxCore/TypeDef.h"
|
||||
%}
|
||||
|
||||
%include "PolyVoxCore/TypeDef.h"
|
@ -1,6 +0,0 @@
|
||||
%module Utility
|
||||
%{
|
||||
#include "PolyVoxCore/Utility.h"
|
||||
%}
|
||||
|
||||
%include "PolyVoxCore/Utility.h"
|
8
library/bindings/Volume.i
Normal file
8
library/bindings/Volume.i
Normal file
@ -0,0 +1,8 @@
|
||||
%module Volume
|
||||
%{
|
||||
#include "Volume.h"
|
||||
%}
|
||||
|
||||
%include "Volume.h"
|
||||
|
||||
%template(VolumeUint16) PolyVox::Volume<unsigned int>;
|
Loading…
x
Reference in New Issue
Block a user