17 Commits

Author SHA1 Message Date
David Williams
e89a55d154 Applied default Visual Studio formatting to most files. This is a quick fix for the tabs vs spaces issue that messes up the formatting in any editor (esp. Linux) which handles tabs/spaces differently to Visual Studio. Some parts of the formatting look a bit worse but overall it should be better (or at least more consistent).
I didn't apply the changes to a few macro-heavy files as Visual Studio removes all indentation from macros, whereas the indentation can be handy to see nesting.
2015-12-26 23:11:27 +00:00
David Williams
b3ca051878 Changed 'embedded' licenses from zlib to MIT. 2015-12-26 21:45:41 +00:00
David Williams
bfc7dfdc1b Removed the ability to specify a region in the PagedVolume's constructor, and updated the tests and examples where required. 2015-02-28 23:31:23 +01:00
David Williams
64d010527b Removed old getVoxelAt()/setVoxelAt() functions. they've been flagged as deprecated for a while now, and are replaced by just getVoxel()/setVoxel(). 2015-02-27 11:07:15 +01:00
David Williams
049a77cd0c Moved all headers from 'PolyVoxCore' to 'PolyVox', as we no longer have the core/util distinction. 2015-02-07 17:26:36 +01:00
David Williams
db2e62d2a8 Replaced LargeVolume and SimpleVolume with PagedVolume in tests and examples. 2014-09-21 17:57:42 +02:00
David Williams
47e8f4a86d Improved raycast unit test so that it exits early if the ray leaves the volume. 2012-12-02 17:33:59 +01:00
unknown
d4edc1047e Renamed 'PolyVoxImpl' to just 'Impl'. 2012-11-05 17:00:09 +01:00
unknown
3c69bb651f Moved PolyVoxImpl inside of PolyVoxCore. This is the first stage of some tidying to better hide implementation details from the user. 2012-11-05 16:40:02 +01:00
David Williams
c8ba433b88 Replaced temporary use of MyClassname. 2012-10-05 16:53:08 +02:00
David Williams
191d04ec02 Split the raycast funtion into two versions. 2012-10-02 17:26:25 +02:00
David Williams
7af38d83a3 Added meaningful raycast return values and improved tests. 2012-10-02 16:52:43 +02:00
David Williams
23184e6924 Initial work on unclassing raycast. 2012-10-02 16:03:39 +02:00
unknown
9db04f38bc Removed use of template template parameters from Raycast and AmbientOcclusionCalculator. 2012-05-31 13:31:42 +02:00
unknown
0e16b0d07e Raycast and ambient occlusion tests now use primitive types instead of Material/Density classes. 2012-03-27 14:32:33 +02:00
unknown
d9192270b6 Added callback function to Raycast, which is used to determine when a ray should stop. 2012-03-15 16:52:54 +01:00
unknown
d2a94ac6f4 Added test for raycast. 2012-02-23 17:08:00 +01:00