mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-03 17:38:27 +00:00
Update doc comment
This commit is contained in:
parent
769cad1e3e
commit
0a4fe71bf1
@ -69,6 +69,9 @@ impl<const D: usize> Triangle<D> {
|
||||
|
||||
impl Triangle<2> {
|
||||
/// # Compute the winding of the triangle
|
||||
///
|
||||
/// A winding can only be computed, if the triangle is valid. Returns
|
||||
/// `None`, if it isn't.
|
||||
pub fn winding(&self) -> Option<Winding> {
|
||||
let [pa, pb, pc] = self.points.map(|point| robust::Coord {
|
||||
x: point.u,
|
||||
|
Loading…
Reference in New Issue
Block a user