15 Commits

Author SHA1 Message Date
Marc Gilleron
a3fd0a1afd Print memory pool debug info only in verbose mode 2021-02-19 01:36:14 +00:00
Marc Gilleron
f1e2ea9ad4 Update to latest Godot's threading primitives 2021-02-19 01:30:22 +00:00
Marc Gilleron
d1207bdd96 Reorganized some utility files 2021-02-17 20:34:35 +00:00
Marc Gilleron
158715922d Fix retrieving from cache
It should have made a copy and the input should have been populated
instead of being replaced (because it wouldn't hold the ref)
2021-01-30 01:33:55 +00:00
Marc Gilleron
414f6cc305 Fix sdf_scale not defaulting according to the real default channel depth 2021-01-24 14:48:25 +00:00
Marc Gilleron
55a38957b5 Added SDF scale to VoxelTool. Default value should work best with default bit depth. 2021-01-24 13:54:38 +00:00
Marc Gilleron
ca22dc5a29 Should not be there 2020-12-29 22:18:08 +00:00
Marc Gilleron
5fdc4b6485 Debug check and some formatting 2020-12-29 22:14:49 +00:00
Marc Gilleron
c94cb9c4a1 Multiply instead of divide 2020-12-25 17:06:40 +00:00
Marc Gilleron
c8c3886c6f Voxels now use 16-bit by default on the SDF and TYPE channels 2020-12-24 23:12:36 +00:00
Marc Gilleron
a12144304f Optimized Transvoxel (nearly twice as fast), also allowing 16, 32 and 64 bit precision 2020-12-23 02:27:54 +00:00
Marc Gilleron
89abb37e0f consts 2020-12-18 20:52:09 +00:00
Marc Gilleron
dec9b31801 Rename index() to get_index() to make it less like a variable name 2020-12-18 20:48:08 +00:00
Marc Gilleron
87e575e504 Use reinterpret_cast instead of ambiguous C-style cast 2020-12-18 20:46:54 +00:00
Marc Gilleron
6c80da0425 Moved VoxelBuffer and VoxelMemoryPool under storage/ directory 2020-09-14 19:33:02 +01:00