This commit is contained in:
Elias Stepanik 2025-06-14 21:24:12 +02:00
parent 93dcdb3379
commit c511e824d6

View File

@ -119,7 +119,7 @@ pub fn voxel_system(
let hit_position = Vec3::new(hit_x as f32, hit_y as f32, hit_z as f32);
let epsilon = voxel_size * 0.1;
let offset = hit_position + normal * Vec3::splat(epsilon);
octree.insert_sphere(offset, EDIT_SPHERE_RADIUS, Voxel::grass_block());
octree.insert_sphere(offset, EDIT_SPHERE_RADIUS, Voxel::random_sides());
}
}
}