Formatting

This commit is contained in:
Marc Gilleron 2020-07-26 18:44:46 +01:00
parent d96db0d329
commit a24b33eca1
2 changed files with 0 additions and 4 deletions

View File

@ -242,7 +242,6 @@ static void generate_blocky_mesh(
const Color modulate_color = voxel.get_color();
if (bake_occlusion) {
for (unsigned int i = 0; i < vertex_count; ++i) {
Vector3 v = side_positions[i];

View File

@ -1,7 +1,6 @@
#include "voxel_mesher.h"
Ref<Mesh> VoxelMesher::build_mesh(Ref<VoxelBuffer> voxels) {
ERR_FAIL_COND_V(voxels.is_null(), Ref<ArrayMesh>());
Output output;
@ -23,7 +22,6 @@ Ref<Mesh> VoxelMesher::build_mesh(Ref<VoxelBuffer> voxels) {
}
void VoxelMesher::build(Output &output, const Input &input) {
ERR_PRINT("Not implemented");
}
@ -47,7 +45,6 @@ VoxelMesher *VoxelMesher::clone() {
}
void VoxelMesher::_bind_methods() {
// Shortcut if you want to generate a mesh directly from a fixed grid of voxels.
// Useful for testing the different meshers.
ClassDB::bind_method(D_METHOD("build_mesh", "voxel_buffer"), &VoxelMesher::build_mesh);