Commit Graph

43 Commits

Author SHA1 Message Date
David Williams
458a534bf3 Eliminated creation of temporary vector. 2014-08-20 17:18:20 +02:00
Daviw Williams
1e55859107 Renamed WrapMode::None (and others) to avoid conflict with Python reserved word 'None'. 2013-06-13 16:49:02 +02:00
David Williams
0a4ffc2351 Linux compile fixes. 2013-06-12 16:38:27 +02:00
Daviw Williams
27833ee03f Fixed compiler warnings. 2013-06-12 15:45:57 +02:00
Daviw Williams
d98856b276 setVoxel for RawVolume now takes WrapMode instead of bounds check. 2013-06-07 16:49:06 +02:00
Daviw Williams
8ed5edf85f Documentation fix. 2013-06-07 15:47:21 +02:00
Daviw Williams
900b693e25 More work combining BoundsCheck with WrapMode. 2013-06-07 15:43:35 +02:00
Daviw Williams
745f24eab8 More work on wrap modes. 2013-06-06 16:39:49 +02:00
Daviw Williams
6bc379f0df More work combining WrapMode and BoundsCheck 2013-06-06 16:26:55 +02:00
Daviw Williams
2b03e84f83 Combining BoundsChecks and WrapMode into a single enum. 2013-06-06 16:07:47 +02:00
Daviw Williams
073c415a38 Work on new getVoxel() functions. 2013-05-29 16:07:27 +02:00
Daviw Williams
de8c69456f Added macro to throw an exception but not log it. Useful in some high-performance scenarios. 2013-05-27 15:09:43 +02:00
Daviw Williams
0c7002a1ce Avoided double bounds check. 2013-05-27 14:24:52 +02:00
Daviw Williams
61dd59c9bc Merge branch 'develop' into feature/bounds-checks 2013-05-27 13:00:02 +02:00
Daviw Williams
60205425db Fixed warning about unreachable code. 2013-05-24 16:18:02 +02:00
Daviw Williams
efd4878450 Updated documentation. 2013-05-17 16:44:32 +02:00
Daviw Williams
ea4d6d3168 Added setVoxel() functions to replace setVoxelAt() functions in the same way that getVoxel() replaces getVoxelAt(). 2013-05-17 16:36:04 +02:00
Daviw Williams
fa8e7c390f replaced 'getVoxelWithWrapping()' with regular 'getVoxel()', as they can be differentiated by their parameters. 2013-05-17 15:52:18 +02:00
Daviw Williams
4765390ef6 Replaced bool parameter with 'BoundsCheck' parameter for a nicer API. 2013-05-17 14:51:14 +02:00
Daviw Williams
617834bed4 Made getVoxel() bounds checking optional, based on a function parameter. 2013-05-17 14:32:20 +02:00
David Williams
ee299a45f0 Work on error handling. I replaced some asserts with exceptions and also added basic error handling documentation. 2013-05-11 10:05:08 +02:00
David Williams
5cab70b24c Fixed code to use proper zero initialisation. 2013-03-04 22:01:43 +01:00
David Williams
4ee55bba2e More replacing assert() with POLYVOX_ASSERT 2013-01-01 15:34:34 +00:00
Matt Williams
1c61329e67 Fix compilation in Linux 2012-12-18 15:13:41 +00:00
p265186
19a1f99723 Compile fixes for GCC. 2012-12-06 16:49:38 +01:00
Daviw Williams
d19f16ef64 Added new accessors to volume. getVoxel() and getVoxelWithWrapping() will probably replace getVoxelAt, which will be deprecated. 2012-12-06 16:17:21 +01:00
David Williams
9d79035890 Moved volume border handling into base class. RawVolume and SimpleVolume updated, LargeVolume still to be done. 2012-12-03 23:43:44 +01:00
unknown
57350a55d6 Removed some unused variable warning. 2012-11-02 15:23:24 +01:00
unknown
b5414381ec Added asserting copy constructors and assignment operators to volumes. 2012-11-02 14:41:56 +01:00
unknown
4658e8026e Renamed 'resize' to 'initialise' and made it private. 2012-02-28 10:57:53 +01:00
David Williams
1705424def Removed wrong comments. 2012-01-22 08:25:14 +00:00
David Williams
6f31898fd7 Renamed Volume base class to BaseVolume.
Added initial version of simple interface.
2011-10-14 23:57:10 +01:00
David Williams
06cc2806dd Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-09-04 12:13:56 +01:00
David Williams
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
David Williams
bdc2770cba G++ compile fixes. 2011-08-18 22:45:39 +01:00
David Williams
c73b45b721 Fixed bug with RawVolume always starting coordinates at (0,0,0).
Removed Filters.h/.inl
Added Summed Area Table support to LowPassFilter.
Added test for low pass filter.
2011-08-13 08:57:45 +01:00
David Williams
84c78f6839 More work adding base volume class. 2011-07-29 22:00:22 +01:00
David Williams
8c7056d1a9 Made SimpleVolume and RawVolume derive from base Volume class. 2011-07-24 21:33:04 +01:00
David Williams
555ddc47a5 Compile fixes for G++. 2011-07-24 12:26:43 +01:00
David Williams
ef30a13aef Initial work adding base volume class. 2011-07-19 23:37:37 +01:00
David Williams
d4de479b7c More cutting down of RawVolume. 2011-06-18 11:03:28 +01:00
David Williams
586a755d93 Cutting some stuff out of RawVolume. 2011-06-18 00:19:43 +01:00
David Williams
35ed5564d2 Initial version of RawVolume as copy of SimpleVolume. 2011-06-17 23:44:21 +01:00