hannobraun / fornjot

Early-stage b-rep CAD kernel, written in the Rust programming language.
https://www.fornjot.app/
Other
2.06k stars 118 forks source link

Consolidate redundancies in `SurfaceGeom::triangle_at` #2463

Closed hannobraun closed 3 months ago

hannobraun commented 3 months ago

Consolidate the redundant parts of the two code paths into shared code. This is preparation for extracting the curve-specific parts of those methods into a curve geometry trait, or something along those lines.

This comes out of my work on https://github.com/hannobraun/fornjot/issues/2118.