meshx 0.1.3

A mesh eXchange library with conversion utilities for popular mesh formats.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use ops::{Intersect};
use math::{Vector2};

/// Trait defining the necessary operations to resolve an intersection between two objects.
pub trait ResolveIntersection {
    type Output;

    fn resolve_intersection(self, rhs: RHS) -> Self::Output;
}

/// 2D triangle intersection resolution
impl ResolveIntersection<Output = Mesh> for Triangle<Vector2> {

}