mirror of
https://github.com/hannobraun/Fornjot
synced 2025-11-07 15:40:15 +00:00
Update comments
This commit is contained in:
parent
4ca75f5e53
commit
207576f65f
@ -39,8 +39,8 @@ pub enum FaceValidationError {
|
||||
impl FaceValidationError {
|
||||
fn check_interior_winding(face: &Face, errors: &mut Vec<ValidationError>) {
|
||||
if face.region().exterior().edges().count() == 0 {
|
||||
// Can't determine winding, if the cycle has no half-edges. Sounds
|
||||
// like a job for a different validation check.
|
||||
// Can't determine winding, if the cycle has no edges. Sounds like a
|
||||
// job for a different validation check.
|
||||
return;
|
||||
}
|
||||
|
||||
@ -48,8 +48,8 @@ impl FaceValidationError {
|
||||
|
||||
for interior in face.region().interiors() {
|
||||
if interior.edges().count() == 0 {
|
||||
// Can't determine winding, if the cycle has no half-edges.
|
||||
// Sounds like a job for a different validation check.
|
||||
// Can't determine winding, if the cycle has no edges. Sounds
|
||||
// like a job for a different validation check.
|
||||
continue;
|
||||
}
|
||||
let interior_winding = interior.winding();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user