Validate math::Triangle
on construction
#240
Labels
good first issue
Good for newcomers
topic: core
Issues relating to core geometry, operations, algorithms
type: development
Work to ease development or maintenance, without direct effect on features or bugs
Milestone
math::Triangle
should be validated on construction. If buggy code constructs an invalid triangle, that should cause an immediate panic, so the bug can be discovered and fixed as easily as possible.In specific terms, validation includes the following steps:
See
math::Segment
for an example of this kind of validation.Labeling https://github.com/hannobraun/Fornjot/labels/good%20first%20issue, as those are relatively small changes that are very localized.
The text was updated successfully, but these errors were encountered: