Commit Graph

28 Commits

Author SHA1 Message Date
Marc Gilleron
227bf5ad36 Added get/set_voxel_f in VoxelMap 2019-04-28 00:25:33 +01:00
Marc Gilleron
2e419db855 Fix default value for CHANNEL_ISOLEVEL, it should be the integer raw value, not the quantified one 2019-04-28 00:23:10 +01:00
Marc Gilleron
10c2e69a0c Default values for CHANNEL_ISOLEVEL should be 1.0 (i.e maximum distance) 2019-04-27 02:05:40 +01:00
Marc Gilleron
c86a5c53e1 Fixed VoxelMap.get_buffer_copy() introducing voxels in channel 0 even if they don't exist 2019-04-27 02:03:08 +01:00
Marc Gilleron
1b9e7257df Clang-format did things 2019-04-24 01:31:42 +01:00
Marc Gilleron
f05762b683 Fix potential issue, the block state being checked was always the same 2018-09-30 23:32:01 +01:00
Marc Gilleron
da0a1a058c Moved side, edge and corner enums to cube tables, and renamed CubeTables to Cube 2018-09-30 19:38:02 +01:00
Marc Gilleron
606e131c25 More stats 2018-09-29 18:59:19 +01:00
Marc Gilleron
f9034eba08 That should have been a Vector3i 2018-09-29 17:07:35 +01:00
Marc Gilleron
085f94579a Use named constant 2018-09-25 00:53:12 +01:00
Marc Gilleron
115e0e2870 Fixed view distance + dynamic load/unload around viewer 2017-08-28 01:48:36 +02:00
Marc Gilleron
6b3f16e699 Fix wrong block size mask value 2017-08-20 17:45:44 +02:00
Marc Gilleron
dc4f0c5cd1 Moved VoxelBlock to its own file 2017-08-20 15:48:55 +02:00
Marc Gilleron
aa4d04d1a0 Moved moore neighboring to cube tables 2017-08-20 15:37:07 +02:00
Marc Gilleron
cb548234fc Block size is no longer a constant 2017-08-20 15:17:54 +02:00
Marc Gilleron
51596fef95 Clang-format 2017-08-13 01:19:39 +02:00
Marc Gilleron
e74d64335c Remove obsolete physics, will be re-implemented later 2017-08-13 00:11:51 +02:00
Marc Gilleron
05dfddfa20 Fix type hints in method registration 2017-08-13 00:10:18 +02:00
Marc Gilleron
a5a1ded2f3 Added smooth voxels (untextured at the moment) 2017-04-06 23:44:11 +02:00
Marc Gilleron
9cce2aabcb Make it easier to edit voxels one by one + a few fixes for that 2017-03-29 22:36:42 +02:00
Marc Gilleron
353b32c49a Added collision shape generation 2017-03-26 18:09:37 +02:00
Marc Gilleron
fa5e419549 Upgraded to Godot 3.0 2017-03-25 01:23:36 +01:00
Marc Gilleron
06a399f932 Fixed set_voxel() and block force_update_blocks() 2017-01-05 02:39:40 +01:00
Marc Gilleron
d3ab015c67 VoxelBlock is no longer a Reference 2017-01-03 02:50:19 +01:00
Marc Gilleron
8d1c8cc339 Spaces to tabs 2017-01-01 04:40:16 +01:00
Marc Gilleron
8acf40d338 Unused parameter 2017-01-01 04:19:36 +01:00
Marc Gilleron
cdcae06232 Fix VoxelMap::set_voxel() (found by ktksgit) 2017-01-01 04:03:56 +01:00
Marc Gilleron
5662dfde7b Added VoxelMap and VoxelTerrain + various fixes 2016-05-10 01:59:54 +02:00