mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 09:35:52 +00:00
Fix Clippy warning
This one only showed up after extracting the module into a separate crate. No idea why; none of the code changed.
This commit is contained in:
parent
9d5fc6903e
commit
391582f7d3
@ -3,6 +3,7 @@ use parry3d_f64::query::Ray;
|
|||||||
/// Debug info from the CAD kernel that can be visualized
|
/// Debug info from the CAD kernel that can be visualized
|
||||||
///
|
///
|
||||||
/// At this point, this is a placeholder that will be filled with life later.
|
/// At this point, this is a placeholder that will be filled with life later.
|
||||||
|
#[derive(Default)]
|
||||||
pub struct DebugInfo {
|
pub struct DebugInfo {
|
||||||
/// Rays being used during face triangulation
|
/// Rays being used during face triangulation
|
||||||
pub triangle_edge_checks: Vec<TriangleEdgeCheck>,
|
pub triangle_edge_checks: Vec<TriangleEdgeCheck>,
|
||||||
@ -10,9 +11,7 @@ pub struct DebugInfo {
|
|||||||
|
|
||||||
impl DebugInfo {
|
impl DebugInfo {
|
||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
Self {
|
Self::default()
|
||||||
triangle_edge_checks: Vec::new(),
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn clear(&mut self) {
|
pub fn clear(&mut self) {
|
||||||
|
Loading…
Reference in New Issue
Block a user