Compile fixes for Linux.
Added SWIG files to make bindings build.
This commit is contained in:
@ -38,12 +38,12 @@ namespace PolyVox
|
||||
* Provides an interface for performing paging of data.
|
||||
*/
|
||||
template <typename VoxelType>
|
||||
class FilePager : public Pager<typename VoxelType>
|
||||
class FilePager : public Pager<VoxelType>
|
||||
{
|
||||
public:
|
||||
/// Constructor
|
||||
FilePager(const std::string& strFolderName)
|
||||
:Pager()
|
||||
:Pager<VoxelType>()
|
||||
,m_strFolderName(strFolderName)
|
||||
{
|
||||
}
|
||||
|
6
library/bindings/FilePager.i
Normal file
6
library/bindings/FilePager.i
Normal file
@ -0,0 +1,6 @@
|
||||
%module FilePager
|
||||
%{
|
||||
#include "FilePager.h"
|
||||
%}
|
||||
|
||||
%include "FilePager.h"
|
6
library/bindings/Pager.i
Normal file
6
library/bindings/Pager.i
Normal file
@ -0,0 +1,6 @@
|
||||
%module Pager
|
||||
%{
|
||||
#include "Pager.h"
|
||||
%}
|
||||
|
||||
%include "Pager.h"
|
@ -76,6 +76,8 @@ EXTRACTOR(shortname, LargeVolume)
|
||||
%include "DefaultMarchingCubesController.i"
|
||||
%include "Region.i"
|
||||
%include "Compressor.i"
|
||||
%include "Pager.i"
|
||||
%include "FilePager.i"
|
||||
%include "MinizCompressor.i"
|
||||
%include "RLECompressor.i"
|
||||
%include "BaseVolume.i"
|
||||
|
Reference in New Issue
Block a user