Work on SWIG bindings for PolyVox.

This commit is contained in:
David Williams
2010-12-28 09:49:18 +00:00
parent 26081fd4ba
commit 89df1c8824
4 changed files with 15 additions and 7 deletions

View File

@ -8,11 +8,11 @@
%template(Vector3DFloat) PolyVox::Vector<3,float>;
%template(Vector3DDouble) PolyVox::Vector<3,double>;
//%template(Vector3DInt8) PolyVox::Vector<3,int8>;
//%template(Vector3DUint8) PolyVox::Vector<3,uint8>;
//%template(Vector3DInt16) PolyVox::Vector<3,int16>;
//%template(Vector3DUint16) PolyVox::Vector<3,uint16>;
//%template(Vector3DInt32) PolyVox::Vector<3,int32>;
//%template(Vector3DUint32) PolyVox::Vector<3,uint32>;
%template(Vector3DInt8) PolyVox::Vector<3,int8_t>;
%template(Vector3DUint8) PolyVox::Vector<3,uint8_t>;
%template(Vector3DInt16) PolyVox::Vector<3,int16_t>;
%template(Vector3DUint16) PolyVox::Vector<3,uint16_t>;
%template(Vector3DInt32) PolyVox::Vector<3,int32_t>;
%template(Vector3DUint32) PolyVox::Vector<3,uint32_t>;
%rename(assign) Vector3DFloat::operator=;