Skip to content

Commit

Permalink
Simplift feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Makogan (Makogan) committed Jul 12, 2024
1 parent b061752 commit 592455d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/transformation/mesh_intersection/mesh_intersection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -679,17 +679,14 @@ fn merge_triangle_sets(
Ok(())
}

#[cfg(feature = "wavefront")]
#[cfg(test)]
mod tests {
use crate::shape::TriMeshFlags;
#[cfg(feature = "wavefront")]
use crate::transformation::wavefront::*;

use super::*;
#[cfg(feature = "wavefront")]
use crate::transformation::wavefront::*;
use obj::Obj;

#[cfg(feature = "wavefront")]
#[test]
fn test_same_mesh_intersection() {
let Obj {
Expand Down Expand Up @@ -727,7 +724,6 @@ mod tests {
mesh.to_obj_file(&PathBuf::from("same_test.obj"));
}

#[cfg(feature = "wavefront")]
#[test]
fn test_offset_cylinder_intersection() {
let Obj {
Expand Down Expand Up @@ -786,7 +782,6 @@ mod tests {
res.to_obj_file(&PathBuf::from("offset_test.obj"));
}

#[cfg(feature = "wavefront")]
#[test]
fn test_stair_bar_intersection() {
let Obj {
Expand Down Expand Up @@ -843,7 +838,6 @@ mod tests {
res.to_obj_file(&PathBuf::from("stair_test.obj"));
}

#[cfg(feature = "wavefront")]
#[test]
fn test_complex_intersection() {
let Obj {
Expand Down

0 comments on commit 592455d

Please sign in to comment.