Rename some SWIG stuff to prepare for C# bindings

This commit is contained in:
Matt Williams
2012-11-21 17:03:17 +00:00
parent bef6a7746e
commit 3577a56eb3
3 changed files with 7 additions and 4 deletions

View File

@ -6,9 +6,11 @@
%include "Vector.h"
#ifdef SWIGPYTHON
PROPERTY(PolyVox::Vector, x, getX, setX)
PROPERTY(PolyVox::Vector, y, getY, setY)
PROPERTY(PolyVox::Vector, z, getZ, setZ)
#endif
%extend PolyVox::Vector {
PolyVox::Vector __add__(const PolyVox::Vector& rhs) {