Skip to content

Commit

Permalink
Update order of struct fields
Browse files Browse the repository at this point in the history
The mesh is much more integral to the model than the AABB, so it makes
sense to list it first.
  • Loading branch information
hannobraun committed Jun 6, 2023
1 parent b94ed8a commit 5b8c3a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/fj-interop/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use crate::mesh::Mesh;
/// An approximated model
#[derive(Clone, Debug)]
pub struct Model {
/// The axis-aligned bounding box of the model
pub aabb: Aabb<3>,

/// The triangle mesh that approximates the model
pub mesh: Mesh<Point<3>>,

/// The axis-aligned bounding box of the model
pub aabb: Aabb<3>,
}

0 comments on commit 5b8c3a1

Please sign in to comment.