Patch from issue 227 (Work In Progress)

This commit is contained in:
natureh 510
2014-01-22 21:18:50 +01:00
parent 8b2eac9a3d
commit a8e3f2cdfa
69 changed files with 4202 additions and 609 deletions

View File

@@ -33,7 +33,7 @@ namespace rtengine {
template<typename _Tp>
inline const _Tp LIM01(const _Tp& a) {
return std::max(_Tp(1),std::min(a,_Tp(0)));
return std::max(_Tp(0),std::min(a,_Tp(1)));
}
template<typename _Tp>