mirror of
https://github.com/hannobraun/Fornjot
synced 2025-07-16 15:06:06 +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> {
|
impl Triangle<2> {
|
||||||
/// # Compute the winding of the triangle
|
/// # 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> {
|
pub fn winding(&self) -> Option<Winding> {
|
||||||
let [pa, pb, pc] = self.points.map(|point| robust::Coord {
|
let [pa, pb, pc] = self.points.map(|point| robust::Coord {
|
||||||
x: point.u,
|
x: point.u,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user