392 Commits

Author SHA1 Message Date
Matt Williams
8e4135ad41 Add newlines to end of files to silence compiler warnings 2012-02-27 23:03:36 +00:00
Matt Williams
c412503a3c Remove unnecessary templates
This set of template braces isn't needed in GCC and in fact breaks Clang.
With this patch, Polyox builds on Clang (except OpenGLExample due to a Clang
bug).
2012-02-25 23:25:10 +00:00
Matt Williams
c7446413f5 Spelling fix 2012-02-25 22:57:31 +00:00
Matt Williams
5fb0e43ac4 These lookup tables should be const 2012-02-25 22:56:54 +00:00
Matt Williams
1bc263807f Add static_assert support
Define static_assert to be equal to BOOST_STATIC_ASSERT on older MSVC
compilers.
2012-02-25 22:49:23 +00:00
unknown
8d3a66a08c Removed redundant hasMaterial and hasDensity traits.
Changed AStar default validator.
2012-02-20 12:51:54 +01:00
unknown
a20db7d7cf Work on refactoring voxel types.
Expanded surface extractor test.
2012-02-20 10:16:26 +01:00
unknown
ee17f72753 Removed redundant voxel base class. 2012-02-19 17:22:35 +01:00
unknown
26ea1d8ad3 Added surface extractor tests templatised on voxel type. 2012-02-19 11:24:46 +01:00
unknown
06cee9406a Fixed merge problem? 2012-02-18 12:18:55 +01:00
unknown
3f56ee6f72 More refactoring of basic voxel types. Started replacing getDensity and getMaterial with free functions. 2012-02-18 12:12:38 +01:00
Matt Williams
1b2a2da317 Fix compilation on GCC/Linux 2012-02-10 14:22:33 +00:00
unknown
4957d98518 Improvement to VolumeResampler. 2012-02-10 15:07:54 +01:00
unknown
7afe172244 Tidied up some forward declarations. 2012-02-09 17:28:17 +01:00
Matt Williams
25bef70d8b GCC compile fixes 2012-02-06 23:40:27 +00:00
unknown
c483b44a41 Replaced constants with functions for type traits. 2012-02-06 17:51:37 +01:00
unknown
1ab1d9bed3 Refactoring of basic voxel types. 2012-02-02 16:34:06 +01:00
unknown
a796672645 Fixed incorrect if statement in peek...() functions. 2012-01-31 16:50:21 +01:00
unknown
01af6b938a Made it more obvious that the length of a raycast direction vector is important. 2012-01-27 10:01:44 +01:00
unknown
d2cd3e7c62 Work on refactoring voxel type. 2012-01-26 18:17:18 +01:00
unknown
89522e3590 Fix for invalid assert limiting number of vertices to 1000000. 2012-01-25 11:06:30 +01:00
unknown
b9269c1778 Refactoring of basic voxel types. 2012-01-24 16:22:11 +01:00
unknown
0d492886db Compile fixes for Visual Studio. 2012-01-24 16:03:22 +01:00
David Williams
c6b82ff03e Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-01-24 15:18:50 +01:00
David Williams
b4f7ac4f46 More work refactoring basic voxel types. 2012-01-24 15:17:43 +01:00
David Williams
de463a73cd Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2012-01-22 08:26:15 +00:00
David Williams
1705424def Removed wrong comments. 2012-01-22 08:25:14 +00:00
David Williams
21ce252e1e Work on refactoring voxel types. 2012-01-16 14:56:47 +01:00
David Williams
a82dc7f1ca Added optimization to doRaycast(). 2012-01-13 22:23:50 +00:00
David Williams
a79633de09 Work on refactoring basic voxel types.
Also, this will probably cause a compile error on Linux but I'm committing anyway so I remember to investigate it...
2012-01-13 21:55:23 +00:00
p265186
49b5fb3f67 Refactoring of basic voxel types. 2012-01-12 17:14:45 +01:00
p265186
396e1fea30 Refactoring of basic voxel types. 2012-01-12 14:50:53 +01:00
David Williams
582e2b67be Expanded comment. 2012-01-08 17:26:19 +00:00
David Williams
f71f8daf5a Trivial formatting change. 2012-01-07 11:47:05 +00:00
David Williams
a1ac90c711 Fixed crash due to me incorrectly deciding that the max number of quads which could share a vertex was four. I believe the correct value should actually be six. 2012-01-07 11:46:25 +00:00
David Williams
8b866c9c47 Changed abs() to std::abs() in a few places. 2012-01-05 21:01:23 +00:00
David Williams
4dd6b296c1 Merge branch 'master' of git@gitorious.org:polyvox/polyvox.git 2011-12-17 22:12:30 +00:00
David Williams
2e4bf674e8 Removed incorrect asserts. 2011-12-11 16:27:59 +00:00
David Williams
906300acb3 Fix for bug with material ORing creating a new material.
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=297
2011-12-11 15:26:48 +00:00
David Williams
cc0a15dc94 Made BaseVolume constructor protected. 2011-12-10 07:35:33 +00:00
David Williams
87dd98d4fa Fix for material bug where ORing of material IDs was creating a new material ID, as one of the material IDs could be non-zero. 2011-12-10 06:59:32 +00:00
David Williams
7b126a97f7 GCC compile fix. 2011-12-09 17:27:52 +01:00
David Williams
d5d6319087 Fixes to behavour of LowPassFilter. 2011-12-03 09:43:27 +00:00
David Williams
b972a2ceaf Exposed DensityType and MaterialType on voxels. 2011-11-30 22:50:52 +00:00
David Williams
97e6b56778 Fixed some compiler warnings.
Removed m_mapUsedMaterials as it didn't seem to be used.
2011-11-28 16:43:40 +00:00
David Williams
3ae119f171 Mesh now cleared at start of execure(), rather than in constructor. 2011-11-19 00:15:08 +00:00
David Williams
c9fdd15ba5 Compile fix for MacOS? 2011-11-12 13:00:06 +00:00
David Williams
8f93b054f8 Compile fix 2011-11-11 23:24:16 +00:00
David Williams
46d63ddcd1 Fixed slashes in include paths. 2011-10-15 11:06:01 +01:00
David Williams
db81e1bc3f Work on simple interface. 2011-10-15 00:01:17 +01:00