Use numeric_limits

This commit is contained in:
Andreas Fabri 2008-10-13 17:32:32 +00:00
parent e354f7ce4d
commit ae07848870
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ struct box_limits<unsigned int> {
template<> template<>
struct box_limits<float> { struct box_limits<float> {
static float inf() { return -sup(); } static float inf() { return (std::numeric_limits<float>::min)(); }
static float sup() { return CGALi::infinity; } static float sup() { return (std::numeric_limits<float>::max)(); }
}; };
template<> template<>