-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1863 from hannobraun/model
Clean up model-related code in `fj-interop`
- Loading branch information
Showing
7 changed files
with
23 additions
and
80 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
#![warn(missing_docs)] | ||
|
||
pub mod debug; | ||
pub mod ext; | ||
pub mod mesh; | ||
pub mod processed_shape; | ||
pub mod model; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//! An approximated model | ||
use fj_math::{Aabb, Point}; | ||
|
||
use crate::mesh::Mesh; | ||
|
||
/// An approximated model | ||
#[derive(Clone, Debug)] | ||
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>, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters