27 Commits

Author SHA1 Message Date
Daviw Williams
8b018be2dc Fix for LargeVolumeSampler. 2012-12-18 16:25:31 +01:00
David Williams
b93ceca542 Improved the logic of a few tests. 2012-12-08 10:42:59 +01:00
David Williams
fbdee1a9eb LargeVolumeSampler now falls back on getVoxelWithWrapping. 2012-12-08 00:02:10 +01:00
Daviw Williams
4be54c6dd1 mCurrentVoxel is now zero if the current position is not in the volume. It used to just be set to some invalid address. 2012-12-07 15:56:46 +01:00
Daviw Williams
d0c9b7ba3d Added extra tests to move functions. 2012-12-07 13:38:39 +01:00
David Williams
ab6898c4c5 Removed the assignment operator from SimpleVolume::Sampler and LargeVolume::Sampler. I had forgotten to call the base class assignment operator and this was causing problems.
Also updated the volume unit tests... at least I know now that it's helping!
2012-12-06 23:53:51 +01:00
p265186
19a1f99723 Compile fixes for GCC. 2012-12-06 16:49:38 +01:00
David Williams
4ed8d4303b LargeVolume now uses the version of border handling which is in the BaseVolume. 2012-12-04 22:41:45 +01:00
David Williams
597b28d271 Support for wrap modes in LargeVolumeSampler 2012-12-02 13:57:08 +01:00
unknown
17054c6747 Removed exception specifiers from PolyVox. See http://stackoverflow.com/questions/88573/should-i-use-an-exception-specifier-in-c
They are also deprecated in C++11 anyway.
2012-11-09 14:04:01 +01:00
unknown
4667a4cd37 Fixed some compiler warnings. 2012-07-15 18:08:25 +02:00
unknown
f73b2a479b Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-03-09 16:04:22 +01:00
unknown
af04b96105 Replaced sampler getPosX, etc, with general getPosition(). 2012-03-09 16:03:46 +01:00
Matt Williams
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
unknown
a796672645 Fixed incorrect if statement in peek...() functions. 2012-01-31 16:50:21 +01: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
894455e35f Tidying up of headers and #includes. 2011-09-04 12:12:30 +01:00
David Williams
90063354bd Added setVoxel() funtion to volume iterators.
Fixed bugs with RawVolume iterator movement funtions.
Proper implementation of RawVolume peek...() functions.
2011-08-15 21:10:09 +01:00
David Williams
fb0a2d0dac GCC compile fixes. 2011-07-31 08:08:00 +01:00
David Williams
5e62d639fb Compile fixes for g++. 2011-07-30 12:45:32 +01:00
David Williams
5ddc553ef2 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git
Conflicts:
	library/PolyVoxCore/include/PolyVoxCore/RawVolumeSampler.inl
	library/PolyVoxCore/include/PolyVoxCore/SimpleVolumeSampler.inl
2011-07-30 13:13:48 +01:00
David Williams
d1649c9323 More work on base Volume class and sampler.
Added new test case for creating a volume subclass.
2011-07-30 10:12:28 +01:00
David Williams
8b0eea1152 Added a bunch of 'this->' statements to fix compilation on g++. 2011-07-30 08:03:17 +01:00
David Williams
84c78f6839 More work adding base volume class. 2011-07-29 22:00:22 +01:00
David Williams
f7c511b2c6 Moved volume pointer into base sampler class. 2011-07-27 21:46:57 +01:00
David Williams
8dc1951a06 More work making volumes use a base class. 2011-07-26 21:36:17 +01:00
David Williams
528cb73771 Moved headers into subdirectories. 2011-05-17 22:27:46 +01:00