Fixes to allow the SWIG/Python bindings to build again.
This commit is contained in:
parent
dcf86a905c
commit
e485265dd8
@ -311,7 +311,7 @@ namespace PolyVox
|
||||
const uint16_t zOffset = static_cast<uint16_t>(uZPos - (blockZ << m_uBlockSideLengthPower));
|
||||
|
||||
UncompressedBlock<VoxelType>* pUncompressedBlock = getUncompressedBlock(blockX, blockY, blockZ);
|
||||
pUncompressedBlock->setVoxelAt(xOffset, yOffset, zOffset);
|
||||
pUncompressedBlock->setVoxelAt(xOffset, yOffset, zOffset, tValue);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
9
library/bindings/Block.i
Normal file
9
library/bindings/Block.i
Normal file
@ -0,0 +1,9 @@
|
||||
%module Block
|
||||
%{
|
||||
#include "Block.h"
|
||||
%}
|
||||
|
||||
%include "Block.h"
|
||||
|
||||
VOLUMETYPES(Block)
|
||||
|
8
library/bindings/BlockCompressor.i
Normal file
8
library/bindings/BlockCompressor.i
Normal file
@ -0,0 +1,8 @@
|
||||
%module BlockCompressor
|
||||
%{
|
||||
#include "BlockCompressor.h"
|
||||
%}
|
||||
|
||||
%include "BlockCompressor.h"
|
||||
|
||||
VOLUMETYPES(BlockCompressor)
|
8
library/bindings/CompressedBlock.i
Normal file
8
library/bindings/CompressedBlock.i
Normal file
@ -0,0 +1,8 @@
|
||||
%module CompressedBlock
|
||||
%{
|
||||
#include "CompressedBlock.h"
|
||||
%}
|
||||
|
||||
%include "CompressedBlock.h"
|
||||
|
||||
VOLUMETYPES(CompressedBlock)
|
6
library/bindings/MinizBlockCompressor.i
Normal file
6
library/bindings/MinizBlockCompressor.i
Normal file
@ -0,0 +1,6 @@
|
||||
%module MinizBlockCompressor
|
||||
%{
|
||||
#include "MinizBlockCompressor.h"
|
||||
%}
|
||||
|
||||
%include "MinizBlockCompressor.h"
|
@ -1,6 +0,0 @@
|
||||
%module MinizCompressor
|
||||
%{
|
||||
#include "MinizCompressor.h"
|
||||
%}
|
||||
|
||||
%include "MinizCompressor.h"
|
@ -75,11 +75,15 @@ EXTRACTOR(shortname, LargeVolume)
|
||||
%include "Vector.i"
|
||||
%include "DefaultMarchingCubesController.i"
|
||||
%include "Region.i"
|
||||
%include "Block.i"
|
||||
%include "CompressedBlock.i"
|
||||
%include "UncompressedBlock.i"
|
||||
%include "Compressor.i"
|
||||
%include "BlockCompressor.i"
|
||||
%include "Pager.i"
|
||||
%include "FilePager.i"
|
||||
%include "MinizCompressor.i"
|
||||
%include "RLECompressor.i"
|
||||
%include "MinizBlockCompressor.i"
|
||||
%include "RLEBlockCompressor.i"
|
||||
%include "BaseVolume.i"
|
||||
%include "SimpleVolume.i"
|
||||
%include "RawVolume.i"
|
||||
|
6
library/bindings/RLEBlockCompressor.i
Normal file
6
library/bindings/RLEBlockCompressor.i
Normal file
@ -0,0 +1,6 @@
|
||||
%module RLEBlockCompressor
|
||||
%{
|
||||
#include "RLEBlockCompressor.h"
|
||||
%}
|
||||
|
||||
%include "RLEBlockCompressor.h"
|
@ -1,6 +0,0 @@
|
||||
%module RLECompressor
|
||||
%{
|
||||
#include "RLECompressor.h"
|
||||
%}
|
||||
|
||||
%include "RLECompressor.h"
|
8
library/bindings/UncompressedBlock.i
Normal file
8
library/bindings/UncompressedBlock.i
Normal file
@ -0,0 +1,8 @@
|
||||
%module UncompressedBlock
|
||||
%{
|
||||
#include "UncompressedBlock.h"
|
||||
%}
|
||||
|
||||
%include "UncompressedBlock.h"
|
||||
|
||||
VOLUMETYPES(UncompressedBlock)
|
Loading…
x
Reference in New Issue
Block a user