-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix problems with ImathInterval, and add test (#52)
The test for Imath::Interval was missing and it's not included anywhere else in the library, so builds were not compiling it and thus not catching syntax errors. These changes also bring it more in line with the Box<T> class. * misspelling of "constexpr" * replace constexpr with IMATH_CONSTEXPR14 * add makeInfinite()/isInfinite() for similarity with Box<T> * add operator<< * add ImathTest/testInterval.cpp, based on testBox.cpp Signed-off-by: Cary Phillips <[email protected]>
- Loading branch information
Showing
5 changed files
with
847 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.