mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-30 05:46:06 +00:00
Make method more convenient to call
This commit is contained in:
parent
6079b6b95e
commit
fa1bd45280
@ -1,7 +1,5 @@
|
||||
use tuples::CombinRight;
|
||||
|
||||
use crate::math::Point;
|
||||
|
||||
use super::{Operation, Triangle, Vertex};
|
||||
|
||||
#[derive(Default)]
|
||||
@ -83,7 +81,7 @@ pub struct OperationResult<'r, T> {
|
||||
}
|
||||
|
||||
impl<'r, T> OperationResult<'r, T> {
|
||||
pub fn vertex(self, point: impl Into<Point>) -> OperationResult<'r, T::Out>
|
||||
pub fn vertex(self, point: impl Into<Vertex>) -> OperationResult<'r, T::Out>
|
||||
where
|
||||
T: CombinRight<Vertex>,
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user