mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 02:48:27 +00:00
Remove redundant struct field
This commit is contained in:
parent
42d712812e
commit
9072dbda7c
@ -1,4 +1,4 @@
|
||||
use fj_math::{Aabb, Point};
|
||||
use fj_math::Point;
|
||||
|
||||
use crate::mesh::Mesh;
|
||||
|
||||
@ -7,7 +7,4 @@ use crate::mesh::Mesh;
|
||||
pub struct Model {
|
||||
/// The triangle mesh that approximates the model
|
||||
pub mesh: Mesh<Point<3>>,
|
||||
|
||||
/// The axis-aligned bounding box of the model
|
||||
pub aabb: Aabb<3>,
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ impl Instance {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let model = Model { mesh, aabb };
|
||||
let model = Model { mesh };
|
||||
|
||||
crate::viewer::display(model, false)?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user