mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-06 10:58:28 +00:00
Update name of function parameter
This commit is contained in:
parent
60fd35774d
commit
1fa73523cc
@ -13,9 +13,9 @@ impl<P> From<[P; 3]> for Triangle
|
||||
where
|
||||
P: Into<Point<3>>,
|
||||
{
|
||||
fn from(vertices: [P; 3]) -> Self {
|
||||
fn from(points: [P; 3]) -> Self {
|
||||
Self {
|
||||
points: vertices.map(Into::into),
|
||||
points: points.map(Into::into),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user