Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rosaliedewinther committed Jul 24, 2023
1 parent 260c922 commit 37ba881
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/bevy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use bevy_aabb_instancing::{
VertexPullingRenderPlugin, COLOR_MODE_SCALAR_HUE,
};
use smooth_bevy_cameras::{controllers::unreal::*, LookTransformPlugin};
use vdb_rs::{Index, Node, VdbReader}; (using iterator now)
use vdb_rs::VdbReader;

use std::{error::Error, fs::File, io::BufReader};

Expand Down Expand Up @@ -57,7 +57,6 @@ fn setup(mut commands: Commands, mut color_options_map: ResMut<CuboidMaterialMap
});

let grid = vdb_reader.read_grid::<half::f16>(&grid_to_load).unwrap();
let tree = grid.tree;
let instances: Vec<Cuboid> = grid
.iter()
.map(|(pos, voxel)| {
Expand Down

0 comments on commit 37ba881

Please sign in to comment.