David Williams
630affbf4d
Moved bindings from inside 'library' folder to root folder.
2015-02-07 14:47:21 +01:00
David Williams
c3305ea14b
Reinstated some of the 'install' code.
2015-02-07 10:36:49 +01:00
David Williams
5d54c881a1
Added custom target (which doesn't build anything) so that our header-only library still shows up in VisualStudio for browsing the files.
2015-02-07 06:52:47 +01:00
David Williams
c3f2e5217e
Removed CMake code which tries to build/use PolyVoxCore as a library.
2015-02-06 23:29:35 +01:00
David Williams
9d9e3996a3
Moved utility functions to header.
2015-02-06 21:28:47 +01:00
David Williams
07f1593561
Made logging functions header only.
2015-02-06 21:13:12 +01:00
David Williams
4325ffabc4
Moved error handling functions/macros to be header-only.
2015-02-06 21:08:19 +01:00
David Williams
6e8d9dfb75
Windows now uses standard C++ timer. I assume we weren't using it before because it wasn't present on older versions of Visual Studio?
...
Moved timer code to header.
2015-02-06 16:52:21 +01:00
David Williams
8cff2bb2da
Moved random vectors to header files.
2015-02-06 16:43:29 +01:00
David Williams
eb45c97a61
Moved marching cubes tables to header file.
2015-02-06 16:37:08 +01:00
David Williams
d480935e38
Moved A* pathfinder data from .cpp to header.
2015-02-06 16:08:05 +01:00
David Williams
8065b709d1
Made Region header only.
2015-02-06 00:07:32 +01:00
Matt Williams
ecb3439d22
Reorder initialisation to silence -Wreorder warnings
2014-12-12 10:36:45 +00:00
Matt Williams
6d6b190743
Reorganise the CMake scripts to make sure the core library is independent
2014-12-10 15:53:25 +00:00
Matt Williams
2e98414fd3
Start updating the library bindings
...
Nothing works at the moment and the bindings are likely going to have to
change significantly.
In the meantime just disable them by default to avoid confusion.
2014-12-10 15:47:54 +00:00
David Williams
436e8d479c
Compile fix.
2014-10-03 21:47:04 +02:00
David Williams
86357d66b7
Normalized line endings
2014-09-25 22:38:01 +02:00
David Williams
75df6621bd
GCC fixes
2014-09-21 23:07:14 +02:00
David Williams
db2e62d2a8
Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples.
2014-09-21 17:57:42 +02:00
David Williams
f95cc6bfca
Added comments and warnings.
2014-09-21 17:50:35 +02:00
David Williams
3a56a70f38
Put deprecated functions back in - lets remove them in the future after more thought.
2014-09-21 15:07:54 +02:00
David Williams
ccb9f8d564
Updated documentation.
2014-09-21 15:03:13 +02:00
David Williams
ae0c5b3702
Added comments and removed deprecated functions.
2014-09-21 14:47:46 +02:00
David Williams
33ec5e1d79
Added a couple of comments.
2014-09-21 12:16:54 +02:00
David Williams
d6a7b83698
Moved Pager to be a nested class of PagedVolume.
2014-09-21 11:42:12 +02:00
David Williams
db9a74fdb4
Moving Chunk to be a nested class of PagedVolume.
2014-09-21 10:27:55 +02:00
David Williams
71035029d1
More renaming blocks to chunks.
2014-09-20 23:27:28 +02:00
David Williams
0ab7f27f0f
More renaming of block to chunk.
2014-09-20 21:27:26 +02:00
David Williams
f3a18befad
More renaming of 'block' to 'chunk'
2014-09-20 21:17:21 +02:00
David Williams
8d7d88a7df
Renamed a bunch of stuff from using 'block' to 'chunk'
2014-09-20 17:39:12 +02:00
David Williams
ede35435a0
Renamed UncompressedBlock to Chunk.
2014-09-20 17:26:57 +02:00
David Williams
880dcd8645
Fixed incorrect messages about temp files not being deleted.
2014-09-20 17:17:18 +02:00
David Williams
6f08184fcb
Fixed initialization of blocks.
2014-09-19 17:02:44 +02:00
David Williams
25a1d95387
Renamed LargeVolume to PagedVolume, deleted SimpleVolume, and set up typedefs pointing LargeVolume and SimpleVolume to PagedVolume for backwards compatibility.
2014-09-19 16:50:24 +02:00
David Williams
3a08487dc2
Blocks now stored in an unordered_map (hash based) rather than a map.
2014-09-18 23:35:16 +02:00
David Williams
2602b00103
Simplifying code.
2014-09-18 16:54:14 +02:00
David Williams
b08974c197
Work on limiting memory usage.
2014-09-18 16:26:47 +02:00
David Williams
d2bbd6beba
Some renaming.
2014-09-18 14:58:17 +02:00
David Williams
8dd026e095
Work on limiting maximum memory usage.
2014-09-18 14:51:43 +02:00
David Williams
38b8764129
Tidying up prefetch function.
2014-09-18 14:22:44 +02:00
David Williams
e88466ad4d
Tidying flush function.
2014-09-18 14:14:08 +02:00
David Williams
277b6c7b9b
Tidying up.
2014-09-17 23:53:14 +02:00
David Williams
916fe310ad
Added function to purge null blocks.
2014-09-17 23:31:23 +02:00
David Williams
177eb16bec
Tidying and commenting.
2014-09-17 21:40:27 +02:00
David Williams
daa93aab19
Tidying and commenting.
2014-09-17 21:27:52 +02:00
David Williams
98526d38d3
Crash fix.
2014-09-17 21:04:47 +02:00
David Williams
37f1ddaed2
Work on block storage.
2014-09-17 17:10:13 +02:00
David Williams
5b59bc2d8c
Moved paging code into block constructor/destructor.
2014-09-17 13:35:43 +02:00
David Williams
2b47c959a5
Work on getUncompressedVoxel().
2014-09-16 21:39:55 +02:00
David Williams
704eeaf948
Work on supporting no pager being attached.
2014-09-16 17:02:53 +02:00