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
David Williams
86357d66b7
Normalized line endings
2014-09-25 22:38:01 +02:00
David Williams
c0a22de2df
Removed a lot of compression-related code.
2014-09-13 12:20:56 +02:00
David Williams
d06dbdf054
Bit renaming. Old Array class is gone, and is replaced by the Array2D class which has also been renamed to Array.
2014-08-24 22:30:50 +02:00
David Williams
82f9d6ad6f
Renamed VertexTypes.h to Vertex.h.
2014-06-02 08:57:30 +02:00
David Williams
d69e840055
Merge branch 'develop' into feature/vertex-refactor
...
Conflicts:
library/PolyVoxCore/include/PolyVoxCore/DefaultIsQuadNeeded.h
library/PolyVoxCore/include/PolyVoxCore/MarchingCubesSurfaceExtractor.inl
library/PolyVoxCore/source/VertexTypes.cpp
2014-05-11 20:45:31 +02:00
David Williams
a34c106382
I accidentally merged the 'cubiquity-version' feature back into develop. It seems I can't simply reverse this commit (at least through SourceTree ) because it was a merge, so I'm having to simply revert the contents of the commit (i.e. the files). Bit of a mess!
2014-05-11 20:34:41 +02:00
David Williams
b0a8ca8a64
This commit templatizes the vertex classes on voxel types. This was the main change which was made for Cubiquity and it's very messy at the moment. However, this will improve when we make more use of 'auto' to hide the template madness.
2014-05-07 23:47:18 +02:00
David Williams
12246d1633
The PositionMaterial class can now be removed as we're not using it.
2014-05-05 20:58:35 +02:00
Daviw Williams
60396a2699
Merge branch 'develop' into feature/cubiquity-version
...
Conflicts:
library/PolyVoxCore/source/Impl/Utility.cpp
2014-02-25 16:55:52 +01:00
Daviw Williams
2458f94feb
Eliminating some differences from the cubiquity-version branch.
2014-02-25 16:51:26 +01:00
Daviw Williams
aeefe7f938
Merge branch 'develop' into feature/cubiquity-version
...
Conflicts:
library/PolyVoxCore/include/PolyVoxCore/DefaultIsQuadNeeded.h
2014-02-25 16:35:54 +01:00
Matt Williams
bc17c802bb
Assume C++11 support
...
Remove all CMake checks for C++11 support since we now assume that we have it.
Replace all polyvox_* macros with standard C++ names.
See #48
2014-02-14 15:03:26 +00:00
David Williams
376ce595d6
Merge branch 'develop' into feature/cubiquity-version
2014-01-31 21:20:04 +01:00
David Williams
248a5c3e29
Removed old logging system.
2014-01-30 22:10:52 +01:00
David Williams
2955b35743
Merge branch 'develop' into feature/cubiquity-version
2014-01-29 21:31:36 +01:00
David Williams
f4e03cc537
Macros now call new logging system instead of the old one.
2014-01-29 21:29:00 +01:00
Daviw Williams
84921f4d0b
The existing logging code is rather large and overwhelming. I'm starting to replace it with a simpler system that should also be easier to maintain.
2014-01-29 16:53:11 +01:00
David Williams
20576d7a6f
Merge branch 'develop' into feature/cubiquity-version
...
Conflicts:
library/PolyVoxCore/include/PolyVoxCore/MarchingCubesSurfaceExtractor.inl
2014-01-28 23:39:22 +01:00
David Williams
2ae5667986
Replaced some more logging commands with macros which can be compiled out.
2014-01-28 23:15:24 +01:00
David Williams
e0e860c45c
Added <algorithm>
2014-01-28 20:59:55 +01:00
David Williams
52e25f2b3d
Merge branch 'develop' into feature/cubiquity-version
2014-01-26 21:34:46 +01:00
Daviw Williams
c177891e5d
Separated logging code into different .cpp/.h files.
2014-01-24 15:21:59 +01:00
Daviw Williams
15b170696c
Merge branch 'develop' into feature/cubiquity-version
2013-11-14 15:36:25 +01:00
Daviw Williams
3db5e1b2f6
Added microsecond precision to timers.
2013-11-14 15:35:41 +01:00
Daviw Williams
8a07d93b54
Merge branch 'develop' into feature/cubiquity-version
2013-10-04 13:57:03 +02:00
Daviw Williams
4d683627da
Added some comments.
2013-10-03 16:56:14 +02:00
Daviw Williams
ef615cc838
Added missing file.
2013-10-03 16:26:43 +02:00
Daviw Williams
319a0ce352
Removed old compression classes.
2013-10-01 15:58:32 +02:00
Daviw Williams
4ee2a61a15
Added a siply wrapper .h/cpp pair to abstract away the fact that miniz in provided as a single .c file which we include directly, and to avoid linker problems.
2013-10-01 15:33:40 +02:00
Matt Williams
f81b42747b
Implement Timer for C++11
...
This uses std::chrono::system_clock
2013-08-22 20:40:45 +01:00
David Williams
6fb30a40f5
Bringing across Region enhancements from Cubiquity branch.
2013-08-09 20:39:17 +02:00
David Williams
fcf5b2b055
Making Cubiquity version of PolyVox more closely match develop version.
2013-08-09 20:32:20 +02:00
David Williams
6a009825b5
Merge branch 'develop' into feature/cubiquity-version
...
Conflicts:
library/PolyVoxCore/include/PolyVoxCore/MarchingCubesSurfaceExtractor.inl
library/PolyVoxCore/source/Region.cpp
2013-08-09 17:05:57 +02:00
Matt Williams
7c74e1faff
Move Timer.h to correct location
...
Also add a missing semi-colon.
2013-08-08 10:42:57 +01:00
David Williams
2f99964606
Tidying timer.
2013-08-07 23:24:20 +02:00
David Williams
9ad4c3fcf7
Initial checkin of Timer class.
2013-08-07 23:07:26 +02:00
David Williams
acf5bef5e7
Merge branch 'feature/large-volume-tidying' into develop
2013-08-01 16:34:38 +02:00
Matt Williams
7ee913c8a8
Fix the SWIG warning in the SWIG interface files
...
This keeps the .cpp and .h files clean.
2013-07-22 16:10:31 +01:00
David Williams
3971e6415c
Added SWIG tests to stop build warning about operator<<.
2013-07-22 16:37:35 +02:00
David Williams
b5d930062b
Const fixes.
2013-07-16 16:09:57 +02:00
Matt Williams
9f7f893b68
Change the types of the edgeTable and triTable
...
The range on values in these tables is much less than needs an int so
making them specific width types packs them smaller.
I measure a 5% decrease in the size of the .so file created at -O3.
2013-07-04 19:35:09 +01:00
David Williams
7cad8388b9
Merge branch 'develop' into feature/cubiquity-version
...
Conflicts:
library/PolyVoxCore/include/PolyVoxCore/Region.h
library/PolyVoxCore/source/Region.cpp
2013-06-27 21:40:10 +02:00
David Williams
288b448b9f
Brought across Region operator<< from Cubiquity branch.
2013-06-22 10:16:16 +02:00
Daviw Williams
869f5f6c49
Added function to check whether one region is inside of another.
2013-05-27 14:01:55 +02:00
Daviw Williams
a56005478d
Fix for Linux compile error.
2013-05-27 12:59:19 +02:00