diff --git a/game/project.godot b/game/project.godot index 53fef89e..6254c6c5 100644 --- a/game/project.godot +++ b/game/project.godot @@ -269,7 +269,7 @@ _global_script_classes=[ { "language": "GDScript", "path": "res://voxelman/world/TVVoxelMesher.gd" }, { -"base": "VoxelMesherUVTransvoxel", +"base": "VoxelMesherMarchingCubes", "class": "TestVoxelMesher", "language": "GDScript", "path": "res://voxelman/world/TestVoxelMesher.gd" diff --git a/game/voxelman/world/TestVoxelMesher.gd b/game/voxelman/world/TestVoxelMesher.gd index 8c8372ba..76898497 100644 --- a/game/voxelman/world/TestVoxelMesher.gd +++ b/game/voxelman/world/TestVoxelMesher.gd @@ -1,4 +1,4 @@ -extends VoxelMesherUVTransvoxel +extends VoxelMesherMarchingCubes class_name TestVoxelMesher # Copyright Péter Magyar relintai@gmail.com @@ -388,7 +388,7 @@ func _add_chunk(buffer : VoxelChunk) -> void: var regular_cell_class : int = get_regular_cell_class(case_code) - var cell_data : TransvoxelCellData = get_regular_cell_data(regular_cell_class) + var cell_data : MarchingCubesCellData = get_regular_cell_data(regular_cell_class) var index_count : int = cell_data.get_triangle_count() * 3 var vertex_count : int = cell_data.get_vertex_count()