kbale / osgocean

An ocean rendering nodekit for OpenSceneGraph
GNU Lesser General Public License v3.0
109 stars 56 forks source link

Use osg::maximum to be more consistent and avoid including <algorithm> #50

Closed romainreignier closed 7 years ago

romainreignier commented 7 years ago

Recent version of MSVC (2015) are stricter with the include and throw an error on the use of std::max without including the <algorithm> header file. However, the OSG version of maximum() is already used in this file.