mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-01 18:45:59 +00:00
Update documentation of Model
This commit is contained in:
parent
d6d657d401
commit
1b79f95739
@ -1,15 +1,15 @@
|
|||||||
//! A processed shape
|
//! An approximated model
|
||||||
|
|
||||||
use fj_math::{Aabb, Point};
|
use fj_math::{Aabb, Point};
|
||||||
|
|
||||||
use crate::mesh::Mesh;
|
use crate::mesh::Mesh;
|
||||||
|
|
||||||
/// A processed shape
|
/// An approximated model
|
||||||
#[derive(Clone, Debug)]
|
#[derive(Clone, Debug)]
|
||||||
pub struct Model {
|
pub struct Model {
|
||||||
/// The axis-aligned bounding box of the shape
|
/// The axis-aligned bounding box of the model
|
||||||
pub aabb: Aabb<3>,
|
pub aabb: Aabb<3>,
|
||||||
|
|
||||||
/// The triangle mesh that approximates the original shape
|
/// The triangle mesh that approximates the model
|
||||||
pub mesh: Mesh<Point<3>>,
|
pub mesh: Mesh<Point<3>>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user