These names only make sense for Python
In future, it might make sense to use these names as the intermediate names for C# and Java too but for now, keep them separate.
This commit is contained in:
parent
a5d55d4415
commit
e90215b0fc
@ -13,6 +13,7 @@ PROPERTY(PolyVox::Vector, z, getZ, setZ)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
%extend PolyVox::Vector {
|
%extend PolyVox::Vector {
|
||||||
|
#ifdef SWIGPYTHON
|
||||||
PolyVox::Vector __add__(const PolyVox::Vector& rhs) {
|
PolyVox::Vector __add__(const PolyVox::Vector& rhs) {
|
||||||
return *$self + rhs;
|
return *$self + rhs;
|
||||||
}
|
}
|
||||||
@ -31,6 +32,7 @@ PROPERTY(PolyVox::Vector, z, getZ, setZ)
|
|||||||
PolyVox::Vector __mul__(const StorageType& rhs) {
|
PolyVox::Vector __mul__(const StorageType& rhs) {
|
||||||
return *$self * rhs;
|
return *$self * rhs;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
STR()
|
STR()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user